Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.009752/0.009752, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.002159/0.002159, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.16 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.27, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.8071/1.077, allocations: 198.6 MB / 1.282 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01474/1.092, allocations: 9.459 MB / 1.291 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.094, allocations: 19.22 kB / 1.291 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/1.096, allocations: 0.6336 MB / 1.292 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007622/1.103, allocations: 2.093 MB / 1.294 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/1.106, allocations: 0.7464 MB / 1.295 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003494/1.11, allocations: 2.104 MB / 1.297 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.111, allocations: 0.7633 MB / 1.297 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/1.114, allocations: 1.398 MB / 1.299 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.116, allocations: 0.7382 MB / 1.299 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/1.116, allocations: 72.22 kB / 1.299 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004585/1.12, allocations: 1.938 MB / 1.301 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/1.121, allocations: 352.3 kB / 1.302 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007236/1.122, allocations: 0.5016 MB / 1.302 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/1.126, allocations: 1.848 MB / 1.304 GB, free: 2.973 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.126, allocations: 0.9062 kB / 1.304 GB, free: 2.973 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.834e-06/1.126, allocations: 0 / 1.304 GB, free: 2.973 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.126, allocations: 2.094 kB / 1.304 GB, free: 2.973 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003556/1.129, allocations: 1.428 MB / 1.305 GB, free: 2.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.129, allocations: 10.48 kB / 1.305 GB, free: 2.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/1.13, allocations: 149.8 kB / 1.306 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/1.131, allocations: 0.578 MB / 1.306 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/1.131, allocations: 54.25 kB / 1.306 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.131, allocations: 74.88 kB / 1.306 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.132, allocations: 0.863 MB / 1.307 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.132, allocations: 1.438 kB / 1.307 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/1.133, allocations: 30.75 kB / 1.307 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/1.133, allocations: 49.97 kB / 1.307 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/1.134, allocations: 0.7713 MB / 1.308 GB, free: 1.762 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.004605/1.138, allocations: 4.517 MB / 1.312 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/1.139, allocations: 413.6 kB / 1.313 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/1.139, allocations: 192 kB / 1.313 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/1.14, allocations: 0.7598 MB / 1.314 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.14, allocations: 43.44 kB / 1.314 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 2.345e-06/1.14, allocations: 0 / 1.314 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.001234/1.141, allocations: 0.5991 MB / 1.314 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.141, allocations: 62.95 kB / 1.314 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/1.142, allocations: 0.8632 MB / 1.315 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/1.142, allocations: 35.08 kB / 1.315 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.143, allocations: 387.9 kB / 1.316 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/1.143, allocations: 134.3 kB / 1.316 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.143, allocations: 105.5 kB / 1.316 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.143, allocations: 330.4 kB / 1.316 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/1.143, allocations: 184.3 kB / 1.316 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/1.144, allocations: 276.6 kB / 1.317 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/1.144, allocations: 453.7 kB / 1.317 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.144, allocations: 0 / 1.317 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009852/1.145, allocations: 0.5796 MB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.145, allocations: 5.594 kB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.145, allocations: 3.125 kB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/1.146, allocations: 8.469 kB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/1.146, allocations: 103.3 kB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.146, allocations: 7 kB / 1.318 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/1.147, allocations: 79.2 kB / 1.318 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/1.147, allocations: 22.03 kB / 1.318 GB, free: 12.5 MB / 1.029 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.0003203/1.147, allocations: 243.4 kB / 1.318 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.147, allocations: 83.78 kB / 1.318 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009554/1.148, allocations: 0.5493 MB / 1.319 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.148, allocations: 8.219 kB / 1.319 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.148, allocations: 0.875 kB / 1.319 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.148, allocations: 2.859 kB / 1.319 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.151, allocations: 2.121 MB / 1.321 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.152, allocations: 6.312 kB / 1.321 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/1.152, allocations: 90.62 kB / 1.321 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.152, allocations: 9.375 kB / 1.321 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/1.152, allocations: 21.72 kB / 1.321 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/1.152, allocations: 18.2 kB / 1.321 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.152, allocations: 9.906 kB / 1.321 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.153, allocations: 0.9892 MB / 1.322 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/1.154, allocations: 212.1 kB / 1.322 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.154, allocations: 21.5 kB / 1.322 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/1.154, allocations: 20.97 kB / 1.322 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/1.154, allocations: 47.8 kB / 1.322 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.154, allocations: 20.78 kB / 1.322 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000767/1.155, allocations: 0.6255 MB / 1.323 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.155, allocations: 0 / 1.323 GB, free: 10.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000905/1.156, allocations: 246 kB / 1.323 GB, free: 10.88 MB / 1.029 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.0005361/1.157, allocations: 235.9 kB / 1.323 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009045/1.158, allocations: 462.9 kB / 1.324 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.158, allocations: 2.312 kB / 1.324 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/1.158, allocations: 232.4 kB / 1.324 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.16, allocations: 0.4949 MB / 1.324 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/1.162, allocations: 1.539 MB / 1.326 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/1.163, allocations: 1.009 MB / 1.327 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007471/1.164, allocations: 187.2 kB / 1.327 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.164, allocations: 70.09 kB / 1.327 GB, free: 9.141 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/1.164, allocations: 0 / 1.327 GB, free: 9.141 MB / 1.029 GB Notification: Performance of Templates: time 0.02649/1.191, allocations: 17.22 MB / 1.344 GB, free: 6.824 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches