Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.849/2.849, allocations: 437 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.91 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4335, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 1.084/1.518, allocations: 166.9 MB / 1.339 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01993/1.538, allocations: 8.483 MB / 1.347 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/1.542, allocations: 36.88 kB / 1.347 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/1.544, allocations: 0.5752 MB / 1.348 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008027/1.553, allocations: 1.538 MB / 1.349 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004795/1.557, allocations: 0.9872 MB / 1.35 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008922/1.566, allocations: 4.103 MB / 1.354 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/1.569, allocations: 1.31 MB / 1.355 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/1.574, allocations: 1.502 MB / 1.357 GB, free: 8.676 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/1.578, allocations: 1.505 MB / 1.358 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005109/1.578, allocations: 187.8 kB / 1.359 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/1.582, allocations: 1.105 MB / 1.36 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009144/1.583, allocations: 0.6773 MB / 1.36 GB, free: 7.422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/1.585, allocations: 1.028 MB / 1.361 GB, free: 6.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005612/1.591, allocations: 2.77 MB / 1.364 GB, free: 5.723 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.591, allocations: 0 / 1.364 GB, free: 5.723 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/1.591, allocations: 4 kB / 1.364 GB, free: 5.719 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.265e-05/1.591, allocations: 1.031 kB / 1.364 GB, free: 5.719 MB / 1.029 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.006256/1.597, allocations: 2.309 MB / 1.366 GB, free: 4.129 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.597, allocations: 13.53 kB / 1.366 GB, free: 4.125 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/1.598, allocations: 207.6 kB / 1.367 GB, free: 4.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.601, allocations: 1.182 MB / 1.368 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.601, allocations: 113.4 kB / 1.368 GB, free: 3.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/1.601, allocations: 149.9 kB / 1.368 GB, free: 3.027 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/1.605, allocations: 1.918 MB / 1.37 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/1.605, allocations: 6.391 kB / 1.37 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/1.605, allocations: 70.17 kB / 1.37 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/1.605, allocations: 34.66 kB / 1.37 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/1.609, allocations: 2.471 MB / 1.372 GB, free: 0.707 MB / 1.029 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.00975/1.619, allocations: 6.125 MB / 1.378 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/1.623, allocations: 2.803 MB / 1.381 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/1.626, allocations: 1.42 MB / 1.382 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/1.628, allocations: 1.735 MB / 1.384 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.112e-05/1.628, allocations: 63.58 kB / 1.384 GB, free: 7.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=237): time 4.578e-06/1.628, allocations: 3.938 kB / 1.384 GB, free: 7.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=237): time 0.006409/1.634, allocations: 3.441 MB / 1.388 GB, free: 5.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.635, allocations: 76.12 kB / 1.388 GB, free: 5.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.636, allocations: 0.7767 MB / 1.388 GB, free: 5.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/1.636, allocations: 60.55 kB / 1.388 GB, free: 5.238 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/1.637, allocations: 0.4923 MB / 1.389 GB, free: 4.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/1.637, allocations: 0.8302 MB / 1.39 GB, free: 4.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005696/1.638, allocations: 355 kB / 1.39 GB, free: 3.859 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.638, allocations: 305.1 kB / 1.39 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.64, allocations: 0.8987 MB / 1.391 GB, free: 3.117 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/1.642, allocations: 1.127 MB / 1.392 GB, free: 2.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/1.645, allocations: 2.231 MB / 1.395 GB, free: 1.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.645, allocations: 0 / 1.395 GB, free: 1.262 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004512/1.65, allocations: 2.438 MB / 1.397 GB, free: 92 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.65, allocations: 4.938 kB / 1.397 GB, free: 92 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.65, allocations: 8.625 kB / 1.397 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/1.65, allocations: 16.97 kB / 1.397 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/1.652, allocations: 441.1 kB / 1.397 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/1.652, allocations: 12.25 kB / 1.397 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.653, allocations: 159.5 kB / 1.398 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.653, allocations: 75.98 kB / 1.398 GB, free: 15.79 MB / 1.061 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.0009665/1.654, allocations: 441.2 kB / 1.398 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/1.655, allocations: 147.1 kB / 1.398 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/1.66, allocations: 2.73 MB / 1.401 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.66, allocations: 24 kB / 1.401 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.66, allocations: 4 kB / 1.401 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003902/1.664, allocations: 2.377 MB / 1.403 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007531/1.671, allocations: 4.302 MB / 1.407 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/1.671, allocations: 0 / 1.407 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.673, allocations: 411.4 kB / 1.408 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/1.674, allocations: 97.69 kB / 1.408 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.674, allocations: 55.98 kB / 1.408 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008713/1.675, allocations: 1.124 MB / 1.409 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.675, allocations: 0 / 1.409 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/1.681, allocations: 4.07 MB / 1.413 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.683, allocations: 483.4 kB / 1.413 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/1.683, allocations: 36 kB / 1.413 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/1.684, allocations: 51.98 kB / 1.414 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/1.684, allocations: 141.8 kB / 1.414 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.684, allocations: 75.97 kB / 1.414 GB, free: 15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008545/1.685, allocations: 0.5459 MB / 1.414 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.685, allocations: 0 / 1.414 GB, free: 14.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001955/1.687, allocations: 0.6552 MB / 1.415 GB, free: 13.79 MB / 1.076 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.0008926/1.688, allocations: 399.5 kB / 1.415 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004065/1.692, allocations: 2.325 MB / 1.418 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.692, allocations: 0 / 1.418 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.694, allocations: 1.281 MB / 1.419 GB, free: 9.797 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/1.697, allocations: 0.5865 MB / 1.419 GB, free: 9.227 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/1.704, allocations: 3.864 MB / 1.423 GB, free: 5.312 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.705, allocations: 1.339 MB / 1.424 GB, free: 3.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009491/1.706, allocations: 183.4 kB / 1.425 GB, free: 3.766 MB / 1.076 GB Notification: Performance of SimCode: time 8.92e-07/1.706, allocations: 0 / 1.425 GB, free: 3.766 MB / 1.076 GB Notification: Performance of Templates: time 0.05375/1.76, allocations: 31.68 MB / 1.456 GB, free: 4.145 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 17.20390000496991]