Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001835/0.001836, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.8 kB / 0.8984 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9462/1.294, allocations: 211.4 MB / 1.259 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01846/1.313, allocations: 10.31 MB / 1.269 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/1.316, allocations: 32 kB / 1.269 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/1.319, allocations: 0.7316 MB / 1.269 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.331, allocations: 2.725 MB / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006015/1.337, allocations: 1.286 MB / 1.273 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01165/1.349, allocations: 4.638 MB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/1.351, allocations: 0.8839 MB / 1.279 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/1.355, allocations: 0.976 MB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/1.359, allocations: 1.12 MB / 1.281 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003366/1.36, allocations: 70.81 kB / 1.281 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/1.37, allocations: 3.199 MB / 1.284 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/1.371, allocations: 454.2 kB / 1.284 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/1.373, allocations: 0.6674 MB / 1.285 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007905/1.381, allocations: 2.943 MB / 1.288 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.381, allocations: 0 / 1.288 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.381, allocations: 0 / 1.288 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.141e-05/1.381, allocations: 0 / 1.288 GB, free: 1.879 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.006394/1.388, allocations: 1.797 MB / 1.29 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/1.388, allocations: 9.188 kB / 1.29 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/1.391, allocations: 428 kB / 1.29 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.393, allocations: 0.8488 MB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/1.393, allocations: 73.53 kB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.394, allocations: 99.8 kB / 1.291 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/1.396, allocations: 1.194 MB / 1.292 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/1.396, allocations: 1.5 kB / 1.292 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.397, allocations: 43.05 kB / 1.292 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/1.397, allocations: 64.27 kB / 1.292 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/1.399, allocations: 1.07 MB / 1.293 GB, free: 16.45 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.007448/1.406, allocations: 4.732 MB / 1.298 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/1.408, allocations: 0.9932 MB / 1.299 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.409, allocations: 0.5611 MB / 1.299 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007501/1.41, allocations: 0.6798 MB / 1.3 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/1.41, allocations: 44.97 kB / 1.3 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 4.168e-06/1.41, allocations: 0 / 1.3 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.005553/1.415, allocations: 2.297 MB / 1.302 GB, free: 12.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/1.416, allocations: 64.81 kB / 1.303 GB, free: 12.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.417, allocations: 0.6409 MB / 1.303 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/1.417, allocations: 39.08 kB / 1.303 GB, free: 12.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/1.417, allocations: 458.3 kB / 1.304 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/1.417, allocations: 292.3 kB / 1.304 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.418, allocations: 134.3 kB / 1.304 GB, free: 11.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.418, allocations: 392.4 kB / 1.304 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/1.418, allocations: 323.8 kB / 1.305 GB, free: 11.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/1.419, allocations: 422.2 kB / 1.305 GB, free: 11.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.42, allocations: 0.7876 MB / 1.306 GB, free: 11.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.42, allocations: 3.938 kB / 1.306 GB, free: 11.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001656/1.422, allocations: 0.9499 MB / 1.307 GB, free: 10.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.422, allocations: 7.562 kB / 1.307 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.422, allocations: 1.859 kB / 1.307 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/1.422, allocations: 59 kB / 1.307 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/1.423, allocations: 156.7 kB / 1.307 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005735/1.423, allocations: 0.616 MB / 1.308 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.425, allocations: 100.8 kB / 1.308 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/1.425, allocations: 26.12 kB / 1.308 GB, free: 10.44 MB / 1.014 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006364/1.425, allocations: 303.5 kB / 1.308 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/1.426, allocations: 95.34 kB / 1.308 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.428, allocations: 0.9337 MB / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.428, allocations: 8.438 kB / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.428, allocations: 0 / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/1.429, allocations: 0.9306 MB / 1.31 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/1.433, allocations: 2.118 MB / 1.312 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.433, allocations: 8.078 kB / 1.312 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/1.434, allocations: 186.2 kB / 1.312 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/1.434, allocations: 2.562 kB / 1.312 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/1.434, allocations: 18.88 kB / 1.312 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.434, allocations: 6.875 kB / 1.312 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.434, allocations: 3.984 kB / 1.312 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/1.436, allocations: 1.392 MB / 1.314 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/1.437, allocations: 250.7 kB / 1.314 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.437, allocations: 15.25 kB / 1.314 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.439, allocations: 87.66 kB / 1.314 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.439, allocations: 53.81 kB / 1.314 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/1.439, allocations: 26.05 kB / 1.314 GB, free: 9.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000685/1.44, allocations: 456.6 kB / 1.314 GB, free: 9.117 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.44, allocations: 0 / 1.314 GB, free: 9.117 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001721/1.441, allocations: 320.5 kB / 1.315 GB, free: 9.117 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.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 (83): * Single equations (assignments): 83 * 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.0004865/1.442, allocations: 215.1 kB / 1.315 GB, free: 9.004 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.443, allocations: 0.8058 MB / 1.316 GB, free: 8.984 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.443, allocations: 1.531 kB / 1.316 GB, free: 8.984 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006305/1.444, allocations: 440.2 kB / 1.316 GB, free: 8.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.447, allocations: 0.5671 MB / 1.317 GB, free: 8.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/1.452, allocations: 2.744 MB / 1.319 GB, free: 7.449 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.453, allocations: 1.125 MB / 1.32 GB, free: 6.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001397/1.454, allocations: 244.7 kB / 1.321 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/1.455, allocations: 80.91 kB / 1.321 GB, free: 6.664 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.455, allocations: 1.094 kB / 1.321 GB, free: 6.664 MB / 1.014 GB Notification: Performance of Templates: time 0.03509/1.49, allocations: 19.54 MB / 1.34 GB, free: 1.41 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches