Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 15.98 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7726, allocations: 153.6 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1848/0.9574, allocations: 159.8 MB / 1.177 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007021/0.9645, allocations: 4.074 MB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009366/0.9655, allocations: 15.94 kB / 1.181 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.9669, allocations: 414 kB / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.9715, allocations: 1.479 MB / 1.183 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.9735, allocations: 0.6329 MB / 1.183 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.9755, allocations: 0.9949 MB / 1.184 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.9767, allocations: 0.8308 MB / 1.185 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.979, allocations: 0.9584 MB / 1.186 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009875/0.98, allocations: 0.6582 MB / 1.187 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.9801, allocations: 75.94 kB / 1.187 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.982, allocations: 0.667 MB / 1.187 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.9824, allocations: 311.2 kB / 1.188 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.9826, allocations: 181.3 kB / 1.188 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.984, allocations: 1.029 MB / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.984, allocations: 0 / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.984, allocations: 0 / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.984, allocations: 4 kB / 1.189 GB, free: 4.598 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002743/0.9868, allocations: 1.178 MB / 1.19 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9868, allocations: 11.98 kB / 1.19 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.9884, allocations: 254.7 kB / 1.19 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.9895, allocations: 0.5531 MB / 1.191 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.9895, allocations: 37 kB / 1.191 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.9896, allocations: 51.91 kB / 1.191 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.9911, allocations: 0.9653 MB / 1.192 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.9911, allocations: 7.938 kB / 1.192 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.9912, allocations: 20 kB / 1.192 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.9913, allocations: 31.92 kB / 1.192 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.9928, allocations: 0.9407 MB / 1.193 GB, free: 400 kB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/0.9984, allocations: 4.188 MB / 1.197 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.9994, allocations: 0.5978 MB / 1.197 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008639/1, allocations: 0.7238 MB / 1.198 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1, allocations: 42.98 kB / 1.198 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001504/1.002, allocations: 351.2 kB / 1.199 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=50): time 4.117e-06/1.002, allocations: 0 / 1.199 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50): time 0.01723/1.019, allocations: 3.674 MB / 1.202 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/1.019, allocations: 63.84 kB / 1.202 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.02, allocations: 0.7077 MB / 1.203 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.021, allocations: 29.7 kB / 1.203 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/1.021, allocations: 328.5 kB / 1.203 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.021, allocations: 181.4 kB / 1.203 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/1.021, allocations: 8 kB / 1.203 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.021, allocations: 322 kB / 1.204 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/1.022, allocations: 400.9 kB / 1.204 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/1.023, allocations: 485.5 kB / 1.205 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/1.023, allocations: 452.7 kB / 1.205 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.023, allocations: 3.938 kB / 1.205 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01087/1.034, allocations: 2.486 MB / 1.207 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.034, allocations: 5.719 kB / 1.207 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.034, allocations: 4 kB / 1.207 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009145/1.044, allocations: 1.546 MB / 1.209 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/1.044, allocations: 99.84 kB / 1.209 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.056, allocations: 6.696 MB / 1.216 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/1.057, allocations: 27.98 kB / 1.216 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/1.057, allocations: 43.94 kB / 1.216 GB, free: 8.223 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003795/1.058, allocations: 213.7 kB / 1.216 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.058, allocations: 82.97 kB / 1.216 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/1.063, allocations: 1.671 MB / 1.218 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.063, allocations: 8 kB / 1.218 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.063, allocations: 4 kB / 1.218 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.063, allocations: 3.984 kB / 1.218 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/1.069, allocations: 2.473 MB / 1.22 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.069, allocations: 8 kB / 1.22 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/1.069, allocations: 87.89 kB / 1.22 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.072, allocations: 0.6612 MB / 1.221 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/1.072, allocations: 15.98 kB / 1.221 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006592/1.079, allocations: 4.518 MB / 1.225 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.079, allocations: 4 kB / 1.225 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/1.085, allocations: 2.157 MB / 1.227 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/1.085, allocations: 235.9 kB / 1.228 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.085, allocations: 20 kB / 1.228 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/1.086, allocations: 27.98 kB / 1.228 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.086, allocations: 48.48 kB / 1.228 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/1.086, allocations: 20 kB / 1.228 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00068/1.087, allocations: 0.4912 MB / 1.228 GB, free: 11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.087, allocations: 0 / 1.228 GB, free: 11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001184/1.088, allocations: 291.8 kB / 1.228 GB, free: 10.72 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005869/1.089, allocations: 219.6 kB / 1.229 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003055/1.092, allocations: 1.394 MB / 1.23 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.092, allocations: 4 kB / 1.23 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.093, allocations: 0.8875 MB / 1.231 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.095, allocations: 435.2 kB / 1.231 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/1.098, allocations: 1.984 MB / 1.233 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.099, allocations: 0.9945 MB / 1.234 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006135/1.099, allocations: 162.6 kB / 1.234 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/1.1, allocations: 67.42 kB / 1.234 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/1.1, allocations: 0 / 1.234 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.5737/1.673, allocations: 20.81 MB / 1.255 GB, free: 231 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches