Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001726, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001821/0.001821, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.572/1.572, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.099/3.099, allocations: 482.3 MB / 0.7542 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.53 kB / 0.9232 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.9431/1.324, allocations: 186 MB / 1.263 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009658/1.333, allocations: 6.06 MB / 1.269 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/1.335, allocations: 32.59 kB / 1.269 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/1.337, allocations: 466.3 kB / 1.27 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00519/1.342, allocations: 1.78 MB / 1.271 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/1.344, allocations: 0.8669 MB / 1.272 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003608/1.348, allocations: 2.48 MB / 1.275 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/1.349, allocations: 0.7617 MB / 1.275 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.351, allocations: 1.065 MB / 1.276 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.353, allocations: 0.8161 MB / 1.277 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.353, allocations: 89.62 kB / 1.277 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/1.357, allocations: 1.656 MB / 1.279 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004763/1.357, allocations: 369.6 kB / 1.279 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/1.358, allocations: 0.5486 MB / 1.28 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003599/1.362, allocations: 2.024 MB / 1.282 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.362, allocations: 0.7031 kB / 1.282 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.362, allocations: 0.9688 kB / 1.282 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.362, allocations: 0 / 1.282 GB, free: 7.355 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002699/1.364, allocations: 1.376 MB / 1.283 GB, free: 22.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.364, allocations: 10.5 kB / 1.283 GB, free: 22.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/1.367, allocations: 318.7 kB / 1.283 GB, free: 22.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/1.368, allocations: 0.7465 MB / 1.284 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/1.368, allocations: 50.62 kB / 1.284 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/1.368, allocations: 65.95 kB / 1.284 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.37, allocations: 0.7946 MB / 1.285 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/1.37, allocations: 2.469 kB / 1.285 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/1.37, allocations: 30.94 kB / 1.285 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/1.37, allocations: 28.52 kB / 1.285 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/1.371, allocations: 0.6398 MB / 1.286 GB, free: 22.12 MB / 1.014 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.004544/1.376, allocations: 3.438 MB / 1.289 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/1.377, allocations: 0.5013 MB / 1.29 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/1.377, allocations: 286.8 kB / 1.29 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007722/1.378, allocations: 0.6728 MB / 1.291 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.378, allocations: 44.25 kB / 1.291 GB, free: 19.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=51): time 2.495e-06/1.378, allocations: 1.312 kB / 1.291 GB, free: 19.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=51): time 0.00176/1.38, allocations: 0.775 MB / 1.291 GB, free: 19.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.38, allocations: 57.52 kB / 1.291 GB, free: 19.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/1.381, allocations: 0.5949 MB / 1.292 GB, free: 19.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/1.381, allocations: 35.95 kB / 1.292 GB, free: 19.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/1.381, allocations: 388.5 kB / 1.292 GB, free: 18.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/1.381, allocations: 177 kB / 1.293 GB, free: 18.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/1.381, allocations: 98.06 kB / 1.293 GB, free: 18.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.382, allocations: 382.6 kB / 1.293 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/1.382, allocations: 210.7 kB / 1.293 GB, free: 18.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/1.382, allocations: 282.7 kB / 1.293 GB, free: 18.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/1.383, allocations: 0.5041 MB / 1.294 GB, free: 18.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.383, allocations: 1.156 kB / 1.294 GB, free: 18.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00107/1.384, allocations: 0.6245 MB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.384, allocations: 7.219 kB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.384, allocations: 3.156 kB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.384, allocations: 4.156 kB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.385, allocations: 128.9 kB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.385, allocations: 3.656 kB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/1.386, allocations: 83.23 kB / 1.295 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/1.386, allocations: 18.72 kB / 1.295 GB, free: 18.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003664/1.386, allocations: 260.6 kB / 1.295 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.386, allocations: 74.98 kB / 1.295 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.387, allocations: 0.5993 MB / 1.296 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.387, allocations: 5.844 kB / 1.296 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.387, allocations: 1.031 kB / 1.296 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009831/1.388, allocations: 0.8124 MB / 1.297 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/1.391, allocations: 1.55 MB / 1.298 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.391, allocations: 5.656 kB / 1.298 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/1.391, allocations: 151.7 kB / 1.298 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.391, allocations: 5.625 kB / 1.298 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/1.392, allocations: 15.77 kB / 1.298 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.392, allocations: 10.34 kB / 1.298 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.392, allocations: 4.125 kB / 1.298 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/1.393, allocations: 0.9479 MB / 1.299 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/1.393, allocations: 211.6 kB / 1.299 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/1.393, allocations: 17.5 kB / 1.299 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/1.394, allocations: 59.67 kB / 1.299 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/1.394, allocations: 37.38 kB / 1.299 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/1.394, allocations: 20.69 kB / 1.299 GB, free: 16.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004753/1.395, allocations: 423.9 kB / 1.3 GB, free: 16.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.395, allocations: 1.031 kB / 1.3 GB, free: 16.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007908/1.395, allocations: 275.8 kB / 1.3 GB, free: 16.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004985/1.396, allocations: 195.9 kB / 1.3 GB, free: 16.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.397, allocations: 0.5813 MB / 1.301 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.397, allocations: 1.875 kB / 1.301 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/1.397, allocations: 267.4 kB / 1.301 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.399, allocations: 492.5 kB / 1.302 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/1.402, allocations: 2.163 MB / 1.304 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/1.403, allocations: 1.03 MB / 1.305 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007568/1.404, allocations: 181.2 kB / 1.305 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.404, allocations: 60.94 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.404, allocations: 0 / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of Templates: time 0.02712/1.431, allocations: 15.61 MB / 1.32 GB, free: 13.64 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches