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.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.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.001853/0.001853, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.002138/0.002138, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.526/1.526, allocations: 222.9 MB / 240.6 MB, free: 4.535 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.551/2.551, allocations: 390.2 MB / 0.665 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 63.91 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.7998, allocations: 140.4 MB / 0.9498 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2018/1.002, allocations: 164.7 MB / 1.111 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01577/1.017, allocations: 8.45 MB / 1.119 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/1.02, allocations: 35.81 kB / 1.119 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.022, allocations: 0.4896 MB / 1.119 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/1.028, allocations: 1.446 MB / 1.121 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/1.032, allocations: 0.9059 MB / 1.122 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007148/1.039, allocations: 4.12 MB / 1.126 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/1.042, allocations: 1.315 MB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/1.046, allocations: 1.496 MB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/1.049, allocations: 1.573 MB / 1.13 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007719/1.05, allocations: 191.9 kB / 1.13 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/1.053, allocations: 1.111 MB / 1.131 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.055, allocations: 0.6701 MB / 1.132 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002655/1.057, allocations: 1.031 MB / 1.133 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/1.061, allocations: 2.081 MB / 1.135 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.061, allocations: 0 / 1.135 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/1.061, allocations: 4 kB / 1.135 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001171/1.061, allocations: 0 / 1.135 GB, free: 3.758 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.006606/1.067, allocations: 2.254 MB / 1.137 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.068, allocations: 12.03 kB / 1.137 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/1.068, allocations: 198.7 kB / 1.137 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/1.071, allocations: 1.177 MB / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.071, allocations: 115 kB / 1.139 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/1.071, allocations: 155.9 kB / 1.139 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/1.075, allocations: 1.915 MB / 1.141 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.075, allocations: 7.922 kB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.075, allocations: 60 kB / 1.141 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/1.075, allocations: 43.98 kB / 1.141 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/1.079, allocations: 2.475 MB / 1.143 GB, free: 11.21 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.008627/1.088, allocations: 6.089 MB / 1.149 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/1.092, allocations: 2.79 MB / 1.152 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/1.094, allocations: 1.425 MB / 1.153 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/1.096, allocations: 1.73 MB / 1.155 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.096, allocations: 64.56 kB / 1.155 GB, free: 14.35 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 4.669e-06/1.096, allocations: 0 / 1.155 GB, free: 14.35 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.005977/1.102, allocations: 3.434 MB / 1.158 GB, free: 10.87 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.102, allocations: 73.41 kB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.103, allocations: 0.7704 MB / 1.159 GB, free: 10 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/1.103, allocations: 65.7 kB / 1.159 GB, free: 9.934 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/1.104, allocations: 486.1 kB / 1.16 GB, free: 9.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007421/1.105, allocations: 0.7892 MB / 1.16 GB, free: 8.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/1.105, allocations: 343.6 kB / 1.161 GB, free: 8.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.105, allocations: 309.1 kB / 1.161 GB, free: 8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/1.107, allocations: 0.898 MB / 1.162 GB, free: 7.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.109, allocations: 1.129 MB / 1.163 GB, free: 5.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/1.112, allocations: 2.219 MB / 1.165 GB, free: 3.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.112, allocations: 4 kB / 1.165 GB, free: 3.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004238/1.116, allocations: 2.436 MB / 1.168 GB, free: 1.195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/1.116, allocations: 15.92 kB / 1.168 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.116, allocations: 4 kB / 1.168 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.116, allocations: 12 kB / 1.168 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.118, allocations: 435.9 kB / 1.168 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.446e-05/1.118, allocations: 15.94 kB / 1.168 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.12, allocations: 206.2 kB / 1.168 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.12, allocations: 79.98 kB / 1.168 GB, free: 452 kB / 0.92 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.0008426/1.121, allocations: 445.3 kB / 1.169 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004279/1.121, allocations: 146.2 kB / 1.169 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/1.126, allocations: 2.717 MB / 1.172 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.126, allocations: 24 kB / 1.172 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.126, allocations: 4 kB / 1.172 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003543/1.129, allocations: 2.381 MB / 1.174 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00693/1.136, allocations: 4.29 MB / 1.178 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.136, allocations: 0 / 1.178 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.138, allocations: 403.5 kB / 1.178 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006258/1.139, allocations: 101.6 kB / 1.179 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/1.139, allocations: 55.98 kB / 1.179 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007758/1.14, allocations: 1.113 MB / 1.18 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.14, allocations: 7.938 kB / 1.18 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/1.146, allocations: 4.061 MB / 1.184 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/1.147, allocations: 478.6 kB / 1.184 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.147, allocations: 36 kB / 1.184 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.149, allocations: 111.8 kB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/1.149, allocations: 137.8 kB / 1.184 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.149, allocations: 71.92 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008092/1.15, allocations: 0.5342 MB / 1.185 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.15, allocations: 0 / 1.185 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001716/1.152, allocations: 0.6475 MB / 1.186 GB, free: 14.45 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.0008905/1.152, allocations: 387.8 kB / 1.186 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009362/1.162, allocations: 4.859 MB / 1.191 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.162, allocations: 0.9375 kB / 1.191 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.164, allocations: 1.284 MB / 1.192 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.167, allocations: 0.5802 MB / 1.193 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006964/1.174, allocations: 4.535 MB / 1.197 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.175, allocations: 1.339 MB / 1.198 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.176, allocations: 191.4 kB / 1.198 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of SimCode: time 1.452e-06/1.176, allocations: 0 / 1.198 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of Templates: time 0.05022/1.226, allocations: 31.26 MB / 1.229 GB, free: 2.027 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