Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 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.001511/0.001511, allocations: 197 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 65.38 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4654, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 1.183/1.649, allocations: 198.6 MB / 1.262 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01153/1.66, allocations: 9.453 MB / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/1.662, allocations: 20.84 kB / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/1.664, allocations: 0.6081 MB / 1.272 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/1.669, allocations: 2.017 MB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/1.672, allocations: 0.728 MB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002894/1.674, allocations: 2.111 MB / 1.277 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.676, allocations: 0.7577 MB / 1.278 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/1.679, allocations: 1.366 MB / 1.279 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.681, allocations: 0.7311 MB / 1.28 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/1.681, allocations: 72.36 kB / 1.28 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/1.686, allocations: 1.938 MB / 1.282 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/1.687, allocations: 353.2 kB / 1.282 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009955/1.688, allocations: 0.4934 MB / 1.282 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005158/1.693, allocations: 1.837 MB / 1.284 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.693, allocations: 1.938 kB / 1.284 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.693, allocations: 0 / 1.284 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.993e-05/1.693, allocations: 1 kB / 1.284 GB, free: 5.316 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004586/1.698, allocations: 1.437 MB / 1.286 GB, free: 20.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.698, allocations: 13.12 kB / 1.286 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/1.698, allocations: 151.2 kB / 1.286 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/1.699, allocations: 0.5605 MB / 1.286 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/1.699, allocations: 51.62 kB / 1.286 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.699, allocations: 72.7 kB / 1.286 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.701, allocations: 0.8605 MB / 1.287 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.701, allocations: 0 / 1.287 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/1.701, allocations: 27.53 kB / 1.287 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/1.701, allocations: 51.89 kB / 1.287 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.702, allocations: 0.7739 MB / 1.288 GB, free: 20.11 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.00517/1.708, allocations: 4.54 MB / 1.292 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/1.708, allocations: 425.4 kB / 1.293 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/1.709, allocations: 185.7 kB / 1.293 GB, free: 16.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/1.709, allocations: 0.7624 MB / 1.294 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.709, allocations: 34.64 kB / 1.294 GB, free: 16.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 3.977e-06/1.709, allocations: 0 / 1.294 GB, free: 16.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001362/1.711, allocations: 0.6098 MB / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.711, allocations: 55.28 kB / 1.294 GB, free: 15.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.712, allocations: 0.8685 MB / 1.295 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/1.712, allocations: 34.02 kB / 1.295 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/1.712, allocations: 384.9 kB / 1.296 GB, free: 15.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/1.712, allocations: 139.2 kB / 1.296 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.713, allocations: 98.62 kB / 1.296 GB, free: 15.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.713, allocations: 328 kB / 1.296 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/1.713, allocations: 181.3 kB / 1.296 GB, free: 15.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/1.713, allocations: 281.5 kB / 1.297 GB, free: 15.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/1.714, allocations: 450.1 kB / 1.297 GB, free: 14.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.714, allocations: 1.281 kB / 1.297 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009949/1.715, allocations: 0.5872 MB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.715, allocations: 5.281 kB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.715, allocations: 2.719 kB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.715, allocations: 9.406 kB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/1.716, allocations: 98.94 kB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.716, allocations: 13.19 kB / 1.298 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/1.716, allocations: 74.98 kB / 1.298 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/1.717, allocations: 22.42 kB / 1.298 GB, free: 14.86 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 (57): * Single equations (assignments): 57 * 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.0003396/1.717, allocations: 240.8 kB / 1.298 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.717, allocations: 82.16 kB / 1.298 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/1.718, allocations: 0.5566 MB / 1.299 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.718, allocations: 4.875 kB / 1.299 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.718, allocations: 1 kB / 1.299 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.718, allocations: 8 kB / 1.299 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.721, allocations: 2.124 MB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.721, allocations: 8.516 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/1.722, allocations: 93.14 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/1.722, allocations: 8.562 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/1.722, allocations: 21.06 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.722, allocations: 8.531 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.722, allocations: 9.844 kB / 1.301 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.723, allocations: 0.9737 MB / 1.302 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/1.723, allocations: 214.9 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.723, allocations: 17.81 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/1.724, allocations: 16 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/1.724, allocations: 56.09 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.724, allocations: 20.22 kB / 1.302 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007897/1.725, allocations: 0.6269 MB / 1.303 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.725, allocations: 1.203 kB / 1.303 GB, free: 13.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009132/1.726, allocations: 244.3 kB / 1.303 GB, free: 13.24 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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.000529/1.726, allocations: 247.1 kB / 1.303 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008923/1.727, allocations: 471.5 kB / 1.304 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.727, allocations: 1.219 kB / 1.304 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/1.728, allocations: 236.4 kB / 1.304 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.73, allocations: 0.4916 MB / 1.305 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/1.732, allocations: 1.57 MB / 1.306 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.733, allocations: 1.007 MB / 1.307 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007622/1.734, allocations: 186.6 kB / 1.307 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/1.734, allocations: 66 kB / 1.307 GB, free: 11.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.734, allocations: 1.375 kB / 1.307 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03156/1.765, allocations: 17.12 MB / 1.324 GB, free: 10.33 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches