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.00142/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001898/0.001898, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.467/2.467, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 63.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7878, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2236/1.011, allocations: 190.4 MB / 1.135 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006776/1.018, allocations: 4.066 MB / 1.139 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/1.019, allocations: 15.88 kB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/1.021, allocations: 405.8 kB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/1.025, allocations: 1.439 MB / 1.141 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/1.028, allocations: 1.244 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002867/1.031, allocations: 2.341 MB / 1.144 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.032, allocations: 0.887 MB / 1.145 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/1.034, allocations: 0.872 MB / 1.146 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/1.036, allocations: 0.8799 MB / 1.147 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/1.036, allocations: 76 kB / 1.147 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/1.039, allocations: 1.566 MB / 1.148 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/1.039, allocations: 342.9 kB / 1.149 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007235/1.04, allocations: 0.4899 MB / 1.149 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/1.042, allocations: 1.71 MB / 1.151 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.042, allocations: 0 / 1.151 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.293e-06/1.043, allocations: 0 / 1.151 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.043, allocations: 0 / 1.151 GB, free: 2.711 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.003181/1.046, allocations: 1.437 MB / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.046, allocations: 12.03 kB / 1.152 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/1.047, allocations: 250.7 kB / 1.152 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/1.048, allocations: 0.5798 MB / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/1.048, allocations: 37 kB / 1.153 GB, free: 312 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.048, allocations: 55.97 kB / 1.153 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.05, allocations: 0.9571 MB / 1.154 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.05, allocations: 11.84 kB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/1.05, allocations: 20 kB / 1.154 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/1.05, allocations: 35.92 kB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.052, allocations: 0.9406 MB / 1.155 GB, free: 14.21 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.005727/1.057, allocations: 4.258 MB / 1.159 GB, free: 9.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.058, allocations: 0.6107 MB / 1.16 GB, free: 9.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/1.059, allocations: 0.5136 MB / 1.16 GB, free: 8.648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/1.06, allocations: 0.8744 MB / 1.161 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.06, allocations: 39 kB / 1.161 GB, free: 7.543 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001722/1.062, allocations: 427.2 kB / 1.162 GB, free: 7.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 5.25e-06/1.062, allocations: 0 / 1.162 GB, free: 7.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01808/1.08, allocations: 3.849 MB / 1.165 GB, free: 3.223 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.08, allocations: 63.72 kB / 1.165 GB, free: 3.148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.081, allocations: 0.7078 MB / 1.166 GB, free: 2.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.082, allocations: 37.7 kB / 1.166 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/1.082, allocations: 320.6 kB / 1.166 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/1.082, allocations: 177.4 kB / 1.167 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/1.082, allocations: 146.1 kB / 1.167 GB, free: 1.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.083, allocations: 326 kB / 1.167 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/1.083, allocations: 396.9 kB / 1.167 GB, free: 1.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/1.084, allocations: 485.5 kB / 1.168 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.086, allocations: 0.9259 MB / 1.169 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/1.086, allocations: 0 / 1.169 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01169/1.097, allocations: 2.556 MB / 1.171 GB, free: 13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.097, allocations: 4 kB / 1.171 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.097, allocations: 4 kB / 1.171 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009835/1.107, allocations: 1.738 MB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/1.108, allocations: 95.8 kB / 1.173 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.121, allocations: 6.649 MB / 1.18 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.122, allocations: 31.95 kB / 1.18 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.122, allocations: 55.91 kB / 1.18 GB, free: 4.137 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.0005027/1.123, allocations: 209.6 kB / 1.18 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/1.123, allocations: 79.06 kB / 1.18 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/1.129, allocations: 1.734 MB / 1.182 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.129, allocations: 15.94 kB / 1.182 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-05/1.129, allocations: 7.984 kB / 1.182 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.129, allocations: 0 / 1.182 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006897/1.136, allocations: 2.525 MB / 1.184 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.136, allocations: 4 kB / 1.184 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/1.136, allocations: 91.83 kB / 1.184 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.139, allocations: 0.8095 MB / 1.185 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/1.14, allocations: 16 kB / 1.185 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00665/1.146, allocations: 4.478 MB / 1.189 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.146, allocations: 0 / 1.189 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/1.152, allocations: 2.151 MB / 1.191 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/1.153, allocations: 235.9 kB / 1.192 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/1.153, allocations: 12 kB / 1.192 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/1.154, allocations: 28.17 kB / 1.192 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.154, allocations: 60.36 kB / 1.192 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/1.154, allocations: 28.11 kB / 1.192 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001058/1.155, allocations: 0.4912 MB / 1.192 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.155, allocations: 4 kB / 1.192 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00151/1.157, allocations: 291.8 kB / 1.193 GB, free: 6.449 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.0005871/1.157, allocations: 204.9 kB / 1.193 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003912/1.161, allocations: 1.468 MB / 1.194 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.161, allocations: 0 / 1.194 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/1.163, allocations: 0.9109 MB / 1.195 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.166, allocations: 434.4 kB / 1.196 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/1.169, allocations: 1.99 MB / 1.197 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.17, allocations: 0.9789 MB / 1.198 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007581/1.171, allocations: 166.6 kB / 1.199 GB, free: 204 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.171, allocations: 63.42 kB / 1.199 GB, free: 140 kB / 0.9512 GB Notification: Performance of SimCode: time 1.223e-06/1.171, allocations: 0 / 1.199 GB, free: 140 kB / 0.9512 GB Notification: Performance of Templates: time 0.03795/1.209, allocations: 21.67 MB / 1.22 GB, free: 10.71 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