Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01094/0.01094, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001842/0.001843, allocations: 194.5 kB / 16.79 MB, free: 5.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7446, allocations: 140.3 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1978/0.9424, allocations: 164.6 MB / 1.11 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.9581, allocations: 8.56 MB / 1.119 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.9607, allocations: 31.81 kB / 1.119 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.9631, allocations: 0.4896 MB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.9688, allocations: 1.454 MB / 1.121 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.9723, allocations: 0.8813 MB / 1.121 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00963/0.9819, allocations: 5.409 MB / 1.127 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.9853, allocations: 1.111 MB / 1.128 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005576/0.9909, allocations: 1.288 MB / 1.129 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004883/0.9959, allocations: 1.538 MB / 1.131 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.9971, allocations: 100 kB / 1.131 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/1.003, allocations: 1.053 MB / 1.132 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/1.004, allocations: 0.5841 MB / 1.132 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003546/1.008, allocations: 0.9369 MB / 1.133 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/1.012, allocations: 2.062 MB / 1.135 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.012, allocations: 4 kB / 1.135 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/1.012, allocations: 0 / 1.135 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.244e-05/1.012, allocations: 3.938 kB / 1.135 GB, free: 3.309 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.006133/1.018, allocations: 2.268 MB / 1.137 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.898e-05/1.018, allocations: 8.031 kB / 1.137 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/1.019, allocations: 194.7 kB / 1.138 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/1.022, allocations: 1.177 MB / 1.139 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.022, allocations: 111 kB / 1.139 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/1.022, allocations: 152 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/1.026, allocations: 1.923 MB / 1.141 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/1.026, allocations: 0 / 1.141 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/1.026, allocations: 64 kB / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/1.026, allocations: 36 kB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/1.03, allocations: 2.478 MB / 1.143 GB, free: 10.76 MB / 0.9044 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.009245/1.039, allocations: 6.093 MB / 1.149 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/1.043, allocations: 2.794 MB / 1.152 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.045, allocations: 1.421 MB / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/1.047, allocations: 1.738 MB / 1.155 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.047, allocations: 56.56 kB / 1.155 GB, free: 13.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 4.047e-06/1.047, allocations: 0 / 1.155 GB, free: 13.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.006/1.053, allocations: 3.43 MB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.053, allocations: 77.41 kB / 1.159 GB, free: 10.33 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.055, allocations: 0.7665 MB / 1.159 GB, free: 9.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.055, allocations: 65.7 kB / 1.159 GB, free: 9.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/1.055, allocations: 490.1 kB / 1.16 GB, free: 8.992 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/1.056, allocations: 0.7853 MB / 1.161 GB, free: 8.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/1.056, allocations: 347.6 kB / 1.161 GB, free: 7.848 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.057, allocations: 305.1 kB / 1.161 GB, free: 7.547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.058, allocations: 0.898 MB / 1.162 GB, free: 6.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.06, allocations: 1.125 MB / 1.163 GB, free: 5.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/1.063, allocations: 2.239 MB / 1.165 GB, free: 3.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.063, allocations: 0 / 1.165 GB, free: 3.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004664/1.068, allocations: 2.429 MB / 1.168 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.068, allocations: 7.938 kB / 1.168 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.068, allocations: 4 kB / 1.168 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/1.068, allocations: 15.94 kB / 1.168 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.07, allocations: 447.4 kB / 1.168 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.129e-05/1.07, allocations: 12 kB / 1.168 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.072, allocations: 206.3 kB / 1.169 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.072, allocations: 76.03 kB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.001112/1.073, allocations: 441.1 kB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/1.074, allocations: 146.2 kB / 1.169 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/1.079, allocations: 2.725 MB / 1.172 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.08, allocations: 24 kB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.08, allocations: 0 / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004494/1.084, allocations: 2.381 MB / 1.174 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009235/1.093, allocations: 4.286 MB / 1.178 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.093, allocations: 0 / 1.178 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.095, allocations: 415.5 kB / 1.179 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/1.096, allocations: 101.6 kB / 1.179 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.096, allocations: 51.98 kB / 1.179 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009553/1.097, allocations: 1.113 MB / 1.18 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.097, allocations: 3.984 kB / 1.18 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/1.104, allocations: 4.057 MB / 1.184 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.105, allocations: 482.6 kB / 1.184 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/1.106, allocations: 47.94 kB / 1.184 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.107, allocations: 103.8 kB / 1.185 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.107, allocations: 137.8 kB / 1.185 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.108, allocations: 67.97 kB / 1.185 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001006/1.109, allocations: 0.542 MB / 1.185 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 1.185 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002128/1.111, allocations: 0.6475 MB / 1.186 GB, free: 13.99 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/1.112, allocations: 376.5 kB / 1.186 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004228/1.116, allocations: 2.314 MB / 1.189 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.116, allocations: 8.062 kB / 1.189 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.118, allocations: 1.28 MB / 1.19 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.122, allocations: 0.5379 MB / 1.19 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/1.13, allocations: 4.533 MB / 1.195 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.131, allocations: 1.347 MB / 1.196 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.132, allocations: 179.4 kB / 1.196 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.132, allocations: 3.938 kB / 1.196 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of Templates: time 0.05261/1.185, allocations: 31.26 MB / 1.227 GB, free: 4.156 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time