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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001737/0.001737, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001878/0.001878, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 60.06 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.257, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.6323/0.8894, allocations: 192.6 MB / 1.139 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.8954, allocations: 4.022 MB / 1.143 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000933/0.8964, allocations: 18.28 kB / 1.143 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.8977, allocations: 472.7 kB / 1.144 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.9011, allocations: 1.533 MB / 1.145 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.9044, allocations: 1.36 MB / 1.146 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.9066, allocations: 1.639 MB / 1.148 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.9076, allocations: 0.9516 MB / 1.149 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.9091, allocations: 0.9207 MB / 1.15 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009563/0.91, allocations: 0.8586 MB / 1.151 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.9102, allocations: 95.06 kB / 1.151 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.913, allocations: 1.31 MB / 1.152 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.9134, allocations: 349.8 kB / 1.152 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.9139, allocations: 0.5101 MB / 1.153 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.9161, allocations: 1.627 MB / 1.155 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9161, allocations: 1.5 kB / 1.155 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9161, allocations: 0 / 1.155 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.9162, allocations: 4 kB / 1.155 GB, free: 2.738 MB / 0.8575 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.003053/0.9192, allocations: 1.441 MB / 1.156 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9193, allocations: 13.12 kB / 1.156 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.9209, allocations: 241.9 kB / 1.156 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.9219, allocations: 0.6052 MB / 1.157 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.9219, allocations: 37.34 kB / 1.157 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.922, allocations: 51.81 kB / 1.157 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.9234, allocations: 0.9639 MB / 1.158 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.9234, allocations: 10.06 kB / 1.158 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.9235, allocations: 22.2 kB / 1.158 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.9236, allocations: 28.11 kB / 1.158 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.925, allocations: 0.9423 MB / 1.159 GB, free: 16.56 MB / 0.8731 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.005173/0.9302, allocations: 4.247 MB / 1.163 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.9312, allocations: 0.6077 MB / 1.163 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.932, allocations: 0.5164 MB / 1.164 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009975/0.933, allocations: 0.8803 MB / 1.165 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.9331, allocations: 37 kB / 1.165 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001516/0.9346, allocations: 412 kB / 1.165 GB, free: 12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/0.9346, allocations: 0 / 1.165 GB, free: 12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50): time 0.0173/0.9519, allocations: 3.838 MB / 1.169 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.952, allocations: 57.41 kB / 1.169 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/0.9528, allocations: 0.7133 MB / 1.17 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.25e-05/0.9529, allocations: 40.42 kB / 1.17 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.9532, allocations: 320.5 kB / 1.17 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.9533, allocations: 177.2 kB / 1.17 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.9536, allocations: 151.7 kB / 1.17 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.9537, allocations: 325.5 kB / 1.171 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.9543, allocations: 391.3 kB / 1.171 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.9551, allocations: 488.3 kB / 1.172 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.9565, allocations: 0.9196 MB / 1.172 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.9565, allocations: 5.453 kB / 1.173 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01114/0.9677, allocations: 2.567 MB / 1.175 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9677, allocations: 5.031 kB / 1.175 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9677, allocations: 4 kB / 1.175 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009429/0.9772, allocations: 1.728 MB / 1.177 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.9777, allocations: 92.97 kB / 1.177 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.99, allocations: 7.139 MB / 1.184 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9911, allocations: 20.52 kB / 1.184 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.94e-05/0.9912, allocations: 48.16 kB / 1.184 GB, free: 1.148 MB / 0.8731 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.0004073/0.9916, allocations: 215.4 kB / 1.184 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.9918, allocations: 82.16 kB / 1.184 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.9967, allocations: 1.731 MB / 1.186 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.9967, allocations: 11.31 kB / 1.186 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.9967, allocations: 7.344 kB / 1.186 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.9967, allocations: 3.984 kB / 1.186 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/1.003, allocations: 2.541 MB / 1.188 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.003, allocations: 2.75 kB / 1.188 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/1.003, allocations: 92.22 kB / 1.188 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.006, allocations: 0.7933 MB / 1.189 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/1.006, allocations: 12.84 kB / 1.189 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/1.013, allocations: 4.853 MB / 1.194 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.013, allocations: 10.52 kB / 1.194 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/1.018, allocations: 2.146 MB / 1.196 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/1.018, allocations: 228.8 kB / 1.196 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.019, allocations: 20.64 kB / 1.196 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/1.019, allocations: 21.98 kB / 1.196 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.019, allocations: 54.97 kB / 1.196 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.019, allocations: 18.97 kB / 1.196 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006199/1.02, allocations: 0.5059 MB / 1.197 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.02, allocations: 0 / 1.197 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009646/1.021, allocations: 288.8 kB / 1.197 GB, free: 8.074 MB / 0.8887 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.0004587/1.021, allocations: 221.7 kB / 1.197 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00341/1.025, allocations: 1.458 MB / 1.199 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.025, allocations: 0 / 1.199 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.027, allocations: 0.921 MB / 1.2 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.029, allocations: 457.9 kB / 1.2 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/1.031, allocations: 1.715 MB / 1.202 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.032, allocations: 0.9767 MB / 1.203 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005265/1.032, allocations: 155.1 kB / 1.203 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.032, allocations: 68.2 kB / 1.203 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/1.032, allocations: 0 / 1.203 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of Templates: time 0.03405/1.067, allocations: 22.63 MB / 1.225 GB, free: 2.938 MB / 0.9044 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches