Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001006/0.001006, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006926/0.006926, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 11.98 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7129, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2007/0.9136, allocations: 187.9 MB / 1.139 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006204/0.9199, allocations: 4.035 MB / 1.142 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007373/0.9206, allocations: 19.88 kB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.9218, allocations: 397.8 kB / 1.143 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.9252, allocations: 1.443 MB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.9283, allocations: 1.238 MB / 1.145 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.9311, allocations: 2.349 MB / 1.148 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9322, allocations: 0.8786 MB / 1.149 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.9336, allocations: 0.8602 MB / 1.149 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.9347, allocations: 0.8643 MB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.9348, allocations: 72 kB / 1.15 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.9374, allocations: 1.566 MB / 1.152 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.9378, allocations: 331 kB / 1.152 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.9383, allocations: 0.5072 MB / 1.153 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.9405, allocations: 1.678 MB / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9406, allocations: 0 / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9406, allocations: 0 / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.9406, allocations: 8 kB / 1.154 GB, free: 2.539 MB / 0.9044 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.00257/0.9432, allocations: 1.18 MB / 1.156 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9432, allocations: 8.031 kB / 1.156 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.9448, allocations: 234.8 kB / 1.156 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.9456, allocations: 0.5914 MB / 1.156 GB, free: 444 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.9457, allocations: 41 kB / 1.156 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.9458, allocations: 52 kB / 1.156 GB, free: 352 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.9473, allocations: 0.9648 MB / 1.157 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.9473, allocations: 7.938 kB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.9474, allocations: 24 kB / 1.157 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.9475, allocations: 23.98 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.949, allocations: 0.9562 MB / 1.158 GB, free: 14.3 MB / 0.92 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.005033/0.9541, allocations: 4.18 MB / 1.162 GB, free: 9.941 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.955, allocations: 0.6108 MB / 1.163 GB, free: 9.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.9558, allocations: 0.5213 MB / 1.164 GB, free: 8.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.9568, allocations: 0.8939 MB / 1.164 GB, free: 7.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.9569, allocations: 38.94 kB / 1.164 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001504/0.9584, allocations: 363.2 kB / 1.165 GB, free: 7.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 2.275e-06/0.9584, allocations: 0 / 1.165 GB, free: 7.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01847/0.9769, allocations: 3.689 MB / 1.168 GB, free: 3.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.977, allocations: 63.77 kB / 1.168 GB, free: 3.504 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.9779, allocations: 0.7039 MB / 1.169 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.9781, allocations: 33.7 kB / 1.169 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.9783, allocations: 320.6 kB / 1.169 GB, free: 2.434 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.9785, allocations: 181.4 kB / 1.17 GB, free: 2.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.9786, allocations: 45.69 kB / 1.17 GB, free: 2.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9787, allocations: 329.9 kB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.9794, allocations: 396.9 kB / 1.17 GB, free: 1.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007505/0.9802, allocations: 493.5 kB / 1.171 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.9817, allocations: 0.9297 MB / 1.172 GB, free: 20 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9817, allocations: 4 kB / 1.172 GB, free: 16 kB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01216/0.9939, allocations: 2.482 MB / 1.174 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.994, allocations: 7.984 kB / 1.174 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.994, allocations: 4 kB / 1.174 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009861/1.004, allocations: 1.546 MB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/1.004, allocations: 103.8 kB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.017, allocations: 6.553 MB / 1.182 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/1.017, allocations: 39.89 kB / 1.182 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/1.018, allocations: 47.92 kB / 1.182 GB, free: 4.926 MB / 0.9356 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.0003673/1.018, allocations: 211.5 kB / 1.182 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/1.018, allocations: 79.06 kB / 1.183 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/1.023, allocations: 1.679 MB / 1.184 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.023, allocations: 4 kB / 1.184 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.023, allocations: 4 kB / 1.184 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.023, allocations: 3.984 kB / 1.184 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/1.029, allocations: 2.478 MB / 1.187 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.03, allocations: 8.125 kB / 1.187 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/1.03, allocations: 95.88 kB / 1.187 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.033, allocations: 0.661 MB / 1.187 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/1.033, allocations: 12 kB / 1.187 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006588/1.04, allocations: 4.416 MB / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.04, allocations: 4 kB / 1.192 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/1.046, allocations: 2.092 MB / 1.194 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/1.046, allocations: 239.9 kB / 1.194 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.046, allocations: 12 kB / 1.194 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/1.047, allocations: 35.97 kB / 1.194 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.047, allocations: 52.38 kB / 1.194 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/1.047, allocations: 23.94 kB / 1.194 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007077/1.048, allocations: 0.5029 MB / 1.195 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.048, allocations: 0 / 1.195 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001118/1.049, allocations: 287.8 kB / 1.195 GB, free: 7.609 MB / 0.9512 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.0005732/1.05, allocations: 212 kB / 1.195 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003809/1.053, allocations: 1.422 MB / 1.196 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.053, allocations: 0 / 1.196 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.055, allocations: 0.8874 MB / 1.197 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.058, allocations: 450.5 kB / 1.198 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/1.061, allocations: 2.048 MB / 1.2 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.062, allocations: 0.9789 MB / 1.201 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007711/1.063, allocations: 162.6 kB / 1.201 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.063, allocations: 67.41 kB / 1.201 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of SimCode: time 5.2e-07/1.063, allocations: 0 / 1.201 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of Templates: time 0.03447/1.097, allocations: 21.38 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches