Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001636/0.001636, allocations: 198 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.7046, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.208/0.9126, allocations: 190.4 MB / 1.203 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007218/0.9199, allocations: 4.048 MB / 1.206 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.9211, allocations: 19.94 kB / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.9225, allocations: 397.8 kB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.9267, allocations: 1.448 MB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.9304, allocations: 1.243 MB / 1.21 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003123/0.9335, allocations: 2.354 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.9348, allocations: 0.8871 MB / 1.213 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.9364, allocations: 0.8603 MB / 1.214 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.9374, allocations: 0.876 MB / 1.214 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.9376, allocations: 80 kB / 1.214 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.9405, allocations: 1.566 MB / 1.216 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.9409, allocations: 335 kB / 1.216 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.9414, allocations: 0.5016 MB / 1.217 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.9438, allocations: 1.706 MB / 1.218 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9438, allocations: 0 / 1.218 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9438, allocations: 0 / 1.218 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.9438, allocations: 4 kB / 1.218 GB, free: 3.309 MB / 0.9669 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.003203/0.947, allocations: 1.441 MB / 1.22 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9471, allocations: 8.031 kB / 1.22 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.9487, allocations: 242.8 kB / 1.22 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.9496, allocations: 0.5837 MB / 1.221 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.9497, allocations: 44.98 kB / 1.221 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9498, allocations: 55.89 kB / 1.221 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.9513, allocations: 0.9647 MB / 1.222 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9514, allocations: 4 kB / 1.222 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.9515, allocations: 20 kB / 1.222 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.9515, allocations: 27.98 kB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.9531, allocations: 0.9445 MB / 1.223 GB, free: 14.81 MB / 0.9825 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.005427/0.9585, allocations: 4.254 MB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009614/0.9595, allocations: 0.5985 MB / 1.227 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.9602, allocations: 0.5136 MB / 1.228 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.9613, allocations: 0.8783 MB / 1.229 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.9613, allocations: 39 kB / 1.229 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00174/0.9631, allocations: 435.1 kB / 1.229 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.9631, allocations: 0 / 1.229 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01805/0.9811, allocations: 3.837 MB / 1.233 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.9812, allocations: 63.78 kB / 1.233 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.9823, allocations: 0.7078 MB / 1.234 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.9825, allocations: 33.7 kB / 1.234 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.9828, allocations: 320.6 kB / 1.234 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.983, allocations: 181.4 kB / 1.234 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.9833, allocations: 154 kB / 1.234 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9835, allocations: 322 kB / 1.235 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.9842, allocations: 392.9 kB / 1.235 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.9849, allocations: 493.5 kB / 1.236 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.9865, allocations: 0.918 MB / 1.236 GB, free: 200 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9865, allocations: 0 / 1.236 GB, free: 200 kB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01129/0.9978, allocations: 2.56 MB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.9978, allocations: 4 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9978, allocations: 4.125 kB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009409/1.007, allocations: 1.734 MB / 1.241 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/1.008, allocations: 91.8 kB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.02, allocations: 6.673 MB / 1.247 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/1.021, allocations: 24.05 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.021, allocations: 47.92 kB / 1.247 GB, free: 4.754 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004935/1.022, allocations: 209.7 kB / 1.248 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/1.022, allocations: 83.06 kB / 1.248 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/1.028, allocations: 1.741 MB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/1.028, allocations: 8 kB / 1.249 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.028, allocations: 3.984 kB / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.028, allocations: 4 kB / 1.249 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/1.034, allocations: 2.544 MB / 1.252 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.034, allocations: 3.938 kB / 1.252 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6388/1.672, allocations: 86.72 kB / 1.252 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003939/1.676, allocations: 0.7957 MB / 1.253 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.677, allocations: 23.78 kB / 1.253 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006469/1.683, allocations: 4.488 MB / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.683, allocations: 2 kB / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/1.689, allocations: 2.146 MB / 1.259 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/1.689, allocations: 236.4 kB / 1.259 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.69, allocations: 13.66 kB / 1.259 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/1.69, allocations: 30.61 kB / 1.259 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.69, allocations: 49.11 kB / 1.259 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/1.69, allocations: 24.25 kB / 1.26 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007022/1.691, allocations: 0.503 MB / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.691, allocations: 0 / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001056/1.692, allocations: 284 kB / 1.26 GB, free: 229.9 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005153/1.693, allocations: 218.6 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003789/1.697, allocations: 1.456 MB / 1.262 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.697, allocations: 5.047 kB / 1.262 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.699, allocations: 0.913 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.701, allocations: 440.7 kB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/1.704, allocations: 1.966 MB / 1.265 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/1.705, allocations: 0.9798 MB / 1.266 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009217/1.706, allocations: 172.2 kB / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/1.706, allocations: 70.08 kB / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.706, allocations: 0 / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03533/1.741, allocations: 21.67 MB / 1.287 GB, free: 217.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches