Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00156/0.00156, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.245/2.245, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.03 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9402/1.263, allocations: 202 MB / 1.148 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01283/1.276, allocations: 7.38 MB / 1.155 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/1.279, allocations: 36.94 kB / 1.155 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/1.281, allocations: 0.6994 MB / 1.155 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008127/1.289, allocations: 2.408 MB / 1.158 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/1.293, allocations: 1.23 MB / 1.159 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005441/1.299, allocations: 2.914 MB / 1.162 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/1.301, allocations: 0.9449 MB / 1.163 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/1.303, allocations: 1.007 MB / 1.164 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/1.306, allocations: 0.9899 MB / 1.165 GB, free: 0 / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/1.307, allocations: 110.2 kB / 1.165 GB, free: 0 / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006242/1.313, allocations: 2.13 MB / 1.167 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008071/1.314, allocations: 445.2 kB / 1.167 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/1.315, allocations: 0.6717 MB / 1.168 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007211/1.323, allocations: 2.378 MB / 1.17 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.323, allocations: 0 / 1.17 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.465e-06/1.323, allocations: 0 / 1.17 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.193e-05/1.323, allocations: 0 / 1.17 GB, free: 14.17 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004598/1.327, allocations: 1.63 MB / 1.172 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.327, allocations: 9.094 kB / 1.172 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/1.33, allocations: 372.2 kB / 1.172 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.332, allocations: 0.8209 MB / 1.173 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/1.332, allocations: 65.75 kB / 1.173 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/1.332, allocations: 86.25 kB / 1.173 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.334, allocations: 1.045 MB / 1.174 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.334, allocations: 2.688 kB / 1.174 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.334, allocations: 38.91 kB / 1.174 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/1.334, allocations: 51.06 kB / 1.174 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.336, allocations: 0.8765 MB / 1.175 GB, free: 11.69 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.006215/1.342, allocations: 4.325 MB / 1.179 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.343, allocations: 0.6944 MB / 1.18 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008805/1.344, allocations: 455.2 kB / 1.18 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/1.345, allocations: 0.6756 MB / 1.181 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.345, allocations: 44.47 kB / 1.181 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 4.058e-06/1.345, allocations: 0 / 1.181 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.00223/1.347, allocations: 0.9866 MB / 1.182 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.347, allocations: 74.62 kB / 1.182 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/1.348, allocations: 0.6341 MB / 1.183 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/1.348, allocations: 42.77 kB / 1.183 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/1.349, allocations: 428.6 kB / 1.183 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/1.349, allocations: 254.2 kB / 1.184 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.349, allocations: 115.1 kB / 1.184 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.35, allocations: 388.7 kB / 1.184 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/1.35, allocations: 278.7 kB / 1.184 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/1.351, allocations: 356.6 kB / 1.185 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.352, allocations: 0.6654 MB / 1.185 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.352, allocations: 0 / 1.185 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001417/1.353, allocations: 0.7917 MB / 1.186 GB, free: 4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.353, allocations: 7.562 kB / 1.186 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.353, allocations: 6.828 kB / 1.186 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.353, allocations: 6.625 kB / 1.186 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/1.354, allocations: 139.4 kB / 1.186 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.354, allocations: 8.844 kB / 1.186 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/1.355, allocations: 52.33 kB / 1.186 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.355, allocations: 20.56 kB / 1.186 GB, free: 3.922 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005254/1.355, allocations: 296.8 kB / 1.187 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.356, allocations: 85.69 kB / 1.187 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.357, allocations: 0.7897 MB / 1.187 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.357, allocations: 8.438 kB / 1.187 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.357, allocations: 3.984 kB / 1.187 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/1.358, allocations: 0.82 MB / 1.188 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/1.361, allocations: 1.849 MB / 1.19 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.361, allocations: 6.062 kB / 1.19 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/1.362, allocations: 163.9 kB / 1.19 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/1.362, allocations: 6.625 kB / 1.19 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/1.362, allocations: 16.3 kB / 1.19 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/1.362, allocations: 7.156 kB / 1.19 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.362, allocations: 0 / 1.19 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.364, allocations: 1.193 MB / 1.191 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/1.364, allocations: 248.5 kB / 1.192 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.364, allocations: 21.02 kB / 1.192 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/1.365, allocations: 15.97 kB / 1.192 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.365, allocations: 49.94 kB / 1.192 GB, free: 436 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/1.365, allocations: 23.67 kB / 1.192 GB, free: 428 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005519/1.366, allocations: 454.8 kB / 1.192 GB, free: 164 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.366, allocations: 0 / 1.192 GB, free: 164 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009969/1.367, allocations: 336.8 kB / 1.192 GB, free: 96 kB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0003928/1.367, allocations: 210.5 kB / 1.193 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.369, allocations: 0.8137 MB / 1.193 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.369, allocations: 0 / 1.193 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/1.369, allocations: 378.4 kB / 1.194 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.372, allocations: 0.5425 MB / 1.194 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/1.375, allocations: 2.246 MB / 1.197 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/1.376, allocations: 1.087 MB / 1.198 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/1.376, allocations: 75.69 kB / 1.198 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/1.376, allocations: 0 / 1.198 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.02725/1.404, allocations: 15.22 MB / 1.213 GB, free: 4.93 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:oriOutBot.v,oriOutTop.v,time,volA.T,volOut.T