Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_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_latest_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.001625/0.001625, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 198.5 kB / 16.79 MB, free: 6.809 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.58/1.58, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.832/2.832, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 62.8 kB / 0.899 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3925, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9689/1.361, allocations: 199.7 MB / 1.248 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01163/1.373, allocations: 7.487 MB / 1.255 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/1.375, allocations: 32.28 kB / 1.255 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/1.377, allocations: 0.5998 MB / 1.256 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007073/1.384, allocations: 2.263 MB / 1.258 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003617/1.388, allocations: 1.128 MB / 1.259 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00614/1.394, allocations: 4.163 MB / 1.263 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.395, allocations: 0.8071 MB / 1.264 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/1.398, allocations: 0.8769 MB / 1.265 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/1.401, allocations: 1.006 MB / 1.266 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/1.401, allocations: 59.75 kB / 1.266 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007072/1.408, allocations: 2.487 MB / 1.268 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008647/1.409, allocations: 409.9 kB / 1.269 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/1.41, allocations: 0.6042 MB / 1.269 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/1.414, allocations: 1.784 MB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/1.414, allocations: 1.188 kB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.414, allocations: 1.203 kB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.402e-05/1.414, allocations: 0 / 1.271 GB, free: 1.863 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00474/1.419, allocations: 1.622 MB / 1.273 GB, free: 17.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.419, allocations: 9.469 kB / 1.273 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/1.422, allocations: 373.5 kB / 1.273 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/1.424, allocations: 0.818 MB / 1.274 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/1.424, allocations: 62.67 kB / 1.274 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/1.424, allocations: 83.75 kB / 1.274 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/1.426, allocations: 1.047 MB / 1.275 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.426, allocations: 2.656 kB / 1.275 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/1.426, allocations: 33.41 kB / 1.275 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/1.426, allocations: 48.38 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/1.428, allocations: 0.8842 MB / 1.276 GB, free: 16.49 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.005491/1.433, allocations: 4.278 MB / 1.28 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.435, allocations: 0.7012 MB / 1.281 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007907/1.435, allocations: 460.9 kB / 1.281 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/1.436, allocations: 0.6764 MB / 1.282 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.436, allocations: 43.97 kB / 1.282 GB, free: 13.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.856e-06/1.436, allocations: 0 / 1.282 GB, free: 13.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002174/1.438, allocations: 0.9936 MB / 1.283 GB, free: 13.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.438, allocations: 61.06 kB / 1.283 GB, free: 13.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/1.439, allocations: 0.6381 MB / 1.283 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/1.439, allocations: 40.8 kB / 1.283 GB, free: 12.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/1.44, allocations: 436.3 kB / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.44, allocations: 245.5 kB / 1.284 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.44, allocations: 115.2 kB / 1.284 GB, free: 12.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.44, allocations: 393.8 kB / 1.285 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/1.441, allocations: 274.4 kB / 1.285 GB, free: 12.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/1.441, allocations: 353.8 kB / 1.285 GB, free: 12.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.442, allocations: 0.6658 MB / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.442, allocations: 0 / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001424/1.444, allocations: 0.7949 MB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.444, allocations: 15.25 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.444, allocations: 2.281 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.444, allocations: 5.328 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/1.445, allocations: 139.6 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/1.445, allocations: 10.92 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.446, allocations: 114 kB / 1.287 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/1.446, allocations: 19.59 kB / 1.287 GB, free: 11.91 MB / 1.014 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.0006023/1.446, allocations: 290.5 kB / 1.287 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/1.447, allocations: 90.09 kB / 1.287 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.448, allocations: 0.7932 MB / 1.288 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.448, allocations: 7.5 kB / 1.288 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.448, allocations: 1.094 kB / 1.288 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/1.449, allocations: 0.8261 MB / 1.289 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.452, allocations: 1.85 MB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.452, allocations: 1.188 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/1.453, allocations: 163.5 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.453, allocations: 3.375 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/1.453, allocations: 19.75 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.453, allocations: 6.375 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.453, allocations: 1.156 kB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.455, allocations: 1.197 MB / 1.292 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/1.456, allocations: 245.2 kB / 1.292 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.456, allocations: 16.28 kB / 1.292 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/1.457, allocations: 78.66 kB / 1.292 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.457, allocations: 43.36 kB / 1.292 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/1.457, allocations: 25.75 kB / 1.292 GB, free: 10.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006452/1.458, allocations: 453.7 kB / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.458, allocations: 0 / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001206/1.459, allocations: 333.8 kB / 1.293 GB, free: 10.59 MB / 1.014 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.0004069/1.459, allocations: 200 kB / 1.293 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001219/1.461, allocations: 0.6752 MB / 1.294 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.461, allocations: 1.031 kB / 1.294 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/1.461, allocations: 372 kB / 1.294 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.464, allocations: 0.5221 MB / 1.295 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/1.468, allocations: 2.623 MB / 1.297 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/1.468, allocations: 1.087 MB / 1.299 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/1.469, allocations: 78.39 kB / 1.299 GB, free: 8.289 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/1.469, allocations: 0 / 1.299 GB, free: 8.289 MB / 1.014 GB Notification: Performance of Templates: time 0.02758/1.496, allocations: 15.22 MB / 1.313 GB, free: 6.922 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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