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.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.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.001513/0.001513, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00191/0.00191, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.051/3.051, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 8.5 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4051, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2343/0.6395, allocations: 194.6 MB / 1.248 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7992/1.439, allocations: 9.522 MB / 1.257 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/1.441, allocations: 31.69 kB / 1.257 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.442, allocations: 0.5462 MB / 1.258 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007404/1.45, allocations: 2.103 MB / 1.26 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/1.454, allocations: 0.9815 MB / 1.261 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006161/1.46, allocations: 3.877 MB / 1.265 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/1.461, allocations: 0.7484 MB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/1.464, allocations: 0.974 MB / 1.266 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/1.465, allocations: 1.035 MB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/1.466, allocations: 61.66 kB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/1.47, allocations: 1.344 MB / 1.269 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008078/1.471, allocations: 431.9 kB / 1.269 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/1.472, allocations: 288.8 kB / 1.269 GB, free: 22.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/1.477, allocations: 1.832 MB / 1.271 GB, free: 22.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.477, allocations: 0.6875 kB / 1.271 GB, free: 22.44 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.477, allocations: 0 / 1.271 GB, free: 22.44 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.798e-05/1.477, allocations: 0.9688 kB / 1.271 GB, free: 22.44 MB / 1.014 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.004792/1.482, allocations: 1.566 MB / 1.273 GB, free: 21.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.482, allocations: 9.281 kB / 1.273 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/1.485, allocations: 428.7 kB / 1.273 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.487, allocations: 0.8246 MB / 1.274 GB, free: 21.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.488, allocations: 69.31 kB / 1.274 GB, free: 21.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.488, allocations: 101.8 kB / 1.274 GB, free: 21.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/1.491, allocations: 1.189 MB / 1.275 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.491, allocations: 1.781 kB / 1.275 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.491, allocations: 39.78 kB / 1.275 GB, free: 21.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.491, allocations: 58.56 kB / 1.275 GB, free: 21.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/1.494, allocations: 1.065 MB / 1.276 GB, free: 21.07 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.007369/1.501, allocations: 4.739 MB / 1.281 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/1.503, allocations: 0.9833 MB / 1.282 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.504, allocations: 0.5558 MB / 1.283 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.505, allocations: 0.6846 MB / 1.283 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.525e-05/1.505, allocations: 47.7 kB / 1.283 GB, free: 17.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.888e-06/1.505, allocations: 0 / 1.283 GB, free: 17.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.007131/1.513, allocations: 2.29 MB / 1.286 GB, free: 16.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.513, allocations: 59.31 kB / 1.286 GB, free: 16.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.514, allocations: 0.6358 MB / 1.286 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.514, allocations: 40.89 kB / 1.286 GB, free: 16.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.515, allocations: 457.3 kB / 1.287 GB, free: 16.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/1.515, allocations: 296.5 kB / 1.287 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.515, allocations: 21.84 kB / 1.287 GB, free: 16.24 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.515, allocations: 393.1 kB / 1.287 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/1.516, allocations: 315 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/1.516, allocations: 421.5 kB / 1.288 GB, free: 15.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/1.517, allocations: 381.4 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.517, allocations: 0 / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0017/1.519, allocations: 0.9477 MB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.519, allocations: 7.703 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.519, allocations: 2.031 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/1.519, allocations: 59.33 kB / 1.289 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/1.52, allocations: 155.7 kB / 1.29 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005312/1.52, allocations: 0.6068 MB / 1.29 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.522, allocations: 105.4 kB / 1.29 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/1.522, allocations: 25.55 kB / 1.29 GB, free: 15.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006401/1.522, allocations: 302.6 kB / 1.291 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/1.523, allocations: 96.09 kB / 1.291 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/1.524, allocations: 0.926 MB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.524, allocations: 7.812 kB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.524, allocations: 2.281 kB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/1.526, allocations: 0.9321 MB / 1.293 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/1.529, allocations: 2.111 MB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.529, allocations: 0 / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009213/1.53, allocations: 192.1 kB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/1.53, allocations: 2.875 kB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/1.53, allocations: 19.89 kB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.53, allocations: 4.344 kB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.53, allocations: 7.188 kB / 1.295 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/1.533, allocations: 1.381 MB / 1.296 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/1.533, allocations: 248 kB / 1.296 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.533, allocations: 21.16 kB / 1.296 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.534, allocations: 86.75 kB / 1.296 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.535, allocations: 53.55 kB / 1.297 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/1.535, allocations: 27.56 kB / 1.297 GB, free: 13.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006886/1.535, allocations: 450.6 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.535, allocations: 0 / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00154/1.537, allocations: 322.3 kB / 1.297 GB, free: 13.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004961/1.537, allocations: 216.8 kB / 1.298 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001699/1.539, allocations: 0.8069 MB / 1.298 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.539, allocations: 1.25 kB / 1.298 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/1.54, allocations: 439 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.542, allocations: 0.577 MB / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/1.547, allocations: 2.83 MB / 1.302 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.548, allocations: 1.123 MB / 1.303 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001254/1.549, allocations: 255.4 kB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/1.55, allocations: 80.62 kB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.55, allocations: 0 / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of Templates: time 0.03483/1.584, allocations: 18.82 MB / 1.322 GB, free: 7.965 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