Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009244/0.0009244, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8956/0.8956, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.063/2.063, allocations: 429.5 MB / 0.6733 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.926e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.001588/0.001618, allocations: 1.354 MB / 0.8795 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.002007, allocations: 297.5 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.002037, allocations: 0 / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.002059, allocations: 8.969 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.00222, allocations: 10.08 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.002386, allocations: 67.64 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.002452, allocations: 47.77 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.002486, allocations: 0 / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.002583, allocations: 35.91 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.002619, allocations: 7.984 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.002633, allocations: 4.938 kB / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.00274, allocations: 67.86 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.002755, allocations: 8.953 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.002773, allocations: 12 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.002899, allocations: 83.7 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.002901, allocations: 1.125 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002902, allocations: 0 / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002905, allocations: 0 / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003134/0.003219, allocations: 381.5 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.003249, allocations: 8.031 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.003547, allocations: 70.45 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.003627, allocations: 108.6 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.003638, allocations: 5.844 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.00365, allocations: 384 / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.003776, allocations: 100.6 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.003785, allocations: 4.531 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.003795, allocations: 0 / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.003802, allocations: 1.375 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.003849, allocations: 19.97 kB / 0.8808 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.003969, allocations: 128.5 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.00411, allocations: 67.77 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.004142, allocations: 28.33 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.004157, allocations: 0 / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.004177, allocations: 34.48 kB / 0.881 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.004177, allocations: 4 kB / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.004334, allocations: 65.62 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.004356, allocations: 60.05 kB / 0.8811 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.00442, allocations: 165.9 kB / 0.8813 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.004431, allocations: 27.02 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.004461, allocations: 126.9 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.004484, allocations: 19.84 kB / 0.8815 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004515, allocations: 26.8 kB / 0.8815 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.004608, allocations: 496.1 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.004634, allocations: 8 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.004656, allocations: 11.98 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.004705, allocations: 31.62 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004706, allocations: 0 / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.478e-05/0.004781, allocations: 53.69 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004792, allocations: 4 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004796, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.004809, allocations: 4.969 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.004884, allocations: 23.91 kB / 0.8821 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.004888, allocations: 0.5312 kB / 0.8821 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.004923, allocations: 9.219 kB / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.004931, allocations: 0 / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.004988, allocations: 160.6 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.004999, allocations: 8.281 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.005028, allocations: 12 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.005031, allocations: 7.922 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.005034, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.005036, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.933e-05/0.005105, allocations: 124.6 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.005106, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.005148, allocations: 11.98 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.00515, allocations: 4 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005158, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005159, allocations: 4 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00516, allocations: 3.938 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.005254, allocations: 96.36 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.005288, allocations: 11.92 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.005299, allocations: 8 kB / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.005338, allocations: 7.984 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.005355, allocations: 3.938 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.00536, allocations: 4 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001631/0.005524, allocations: 127.5 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005524, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001265/0.00565, allocations: 16 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.682e-05/0.005707, allocations: 95.25 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.005803, allocations: 35.67 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005804, allocations: 7.875 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.00583, allocations: 23.67 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.005972, allocations: 12.27 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.006426, allocations: 174.2 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.702e-05/0.006453, allocations: 55.34 kB / 0.8831 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.006493, allocations: 8 kB / 0.8831 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.006529, allocations: 16.5 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.006529, allocations: 0 / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of Templates: time 0.001956/0.008486, allocations: 0.7941 MB / 0.8839 GB, free: 140 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.091178684029728]