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.001236/0.001235, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01401/0.01401, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 443.3 MB / 0.7175 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 10.81 kB / 0.8796 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4014, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2539/0.6553, allocations: 208.6 MB / 1.235 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.6717, allocations: 10.18 MB / 1.245 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.6742, allocations: 31.81 kB / 1.245 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.6771, allocations: 0.7348 MB / 1.246 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.6872, allocations: 2.72 MB / 1.248 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.6923, allocations: 1.283 MB / 1.249 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.9907/1.683, allocations: 4.633 MB / 1.254 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.685, allocations: 0.8461 MB / 1.255 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/1.687, allocations: 0.9554 MB / 1.256 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/1.69, allocations: 1.077 MB / 1.257 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/1.69, allocations: 56.88 kB / 1.257 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008272/1.699, allocations: 3.188 MB / 1.26 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/1.7, allocations: 434.3 kB / 1.26 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/1.702, allocations: 0.6735 MB / 1.261 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009276/1.711, allocations: 2.902 MB / 1.264 GB, free: 21.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.711, allocations: 3.688 kB / 1.264 GB, free: 21.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.284e-06/1.711, allocations: 0 / 1.264 GB, free: 21.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.791e-05/1.711, allocations: 4.969 kB / 1.264 GB, free: 21.08 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.00562/1.717, allocations: 1.552 MB / 1.265 GB, free: 20.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.717, allocations: 12.39 kB / 1.265 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/1.72, allocations: 430.7 kB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.722, allocations: 0.8492 MB / 1.267 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/1.722, allocations: 70.16 kB / 1.267 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.723, allocations: 99.94 kB / 1.267 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/1.725, allocations: 1.203 MB / 1.268 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/1.726, allocations: 1.594 kB / 1.268 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.726, allocations: 37.78 kB / 1.268 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/1.726, allocations: 54.14 kB / 1.268 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/1.728, allocations: 1.075 MB / 1.269 GB, free: 19.73 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.007174/1.736, allocations: 4.741 MB / 1.274 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/1.737, allocations: 0.9923 MB / 1.275 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.738, allocations: 0.56 MB / 1.275 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/1.739, allocations: 0.677 MB / 1.276 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.739, allocations: 40.14 kB / 1.276 GB, free: 16.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/1.739, allocations: 1.312 kB / 1.276 GB, free: 16.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.005341/1.744, allocations: 2.307 MB / 1.278 GB, free: 15.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.744, allocations: 60.81 kB / 1.278 GB, free: 15.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/1.745, allocations: 0.6398 MB / 1.279 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/1.745, allocations: 41.52 kB / 1.279 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/1.746, allocations: 455.9 kB / 1.279 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/1.746, allocations: 296.6 kB / 1.28 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.746, allocations: 67.91 kB / 1.28 GB, free: 14.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.746, allocations: 395.1 kB / 1.28 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/1.747, allocations: 326.6 kB / 1.28 GB, free: 14.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/1.747, allocations: 424.9 kB / 1.281 GB, free: 14.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.749, allocations: 0.7827 MB / 1.282 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.749, allocations: 0 / 1.282 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001689/1.75, allocations: 0.9488 MB / 1.282 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.75, allocations: 6.719 kB / 1.282 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.75, allocations: 1.469 kB / 1.282 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/1.751, allocations: 57.98 kB / 1.283 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.752, allocations: 160.4 kB / 1.283 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005452/1.752, allocations: 0.6156 MB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.753, allocations: 113.1 kB / 1.283 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/1.753, allocations: 24.98 kB / 1.283 GB, free: 13.78 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.0007552/1.754, allocations: 305.5 kB / 1.284 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.754, allocations: 95.97 kB / 1.284 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.756, allocations: 0.9201 MB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.756, allocations: 9.156 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.756, allocations: 0 / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/1.758, allocations: 0.9312 MB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/1.761, allocations: 2.118 MB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.761, allocations: 0 / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/1.762, allocations: 194.5 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.762, allocations: 2.656 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/1.762, allocations: 20.5 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.762, allocations: 7.688 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.762, allocations: 0 / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/1.765, allocations: 1.391 MB / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/1.765, allocations: 248.8 kB / 1.29 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.765, allocations: 19.86 kB / 1.29 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/1.766, allocations: 89.38 kB / 1.29 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.766, allocations: 60.34 kB / 1.29 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/1.766, allocations: 23.89 kB / 1.29 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006239/1.767, allocations: 457.7 kB / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.767, allocations: 0 / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001153/1.768, allocations: 320.6 kB / 1.29 GB, free: 12.47 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.0004128/1.769, allocations: 212.4 kB / 1.291 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001323/1.77, allocations: 0.8135 MB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.77, allocations: 1.75 kB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/1.771, allocations: 437 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.773, allocations: 0.5575 MB / 1.292 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.777, allocations: 2.898 MB / 1.295 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/1.778, allocations: 1.121 MB / 1.296 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001107/1.779, allocations: 255.3 kB / 1.297 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.779, allocations: 78 kB / 1.297 GB, free: 9.961 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.779, allocations: 4 kB / 1.297 GB, free: 9.957 MB / 1.014 GB Notification: Performance of Templates: time 0.03246/1.812, allocations: 19.42 MB / 1.316 GB, free: 8.727 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