Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 117.8 kB / 17.13 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 213.8 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341/1.343, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2522/1.595, allocations: 170.6 MB / 1.489 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01709/1.612, allocations: 8.532 MB / 1.497 GB, free: 4.273 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/1.615, allocations: 49.31 kB / 1.497 GB, free: 4.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/1.617, allocations: 0.5806 MB / 1.498 GB, free: 3.75 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/1.623, allocations: 1.564 MB / 1.499 GB, free: 2.504 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/1.627, allocations: 1.013 MB / 1.5 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007495/1.635, allocations: 4.112 MB / 1.504 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/1.637, allocations: 1.143 MB / 1.505 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004997/1.642, allocations: 1.624 MB / 1.507 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/1.645, allocations: 1.546 MB / 1.508 GB, free: 10.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003466/1.645, allocations: 188 kB / 1.508 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/1.649, allocations: 1.166 MB / 1.51 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007387/1.649, allocations: 0.6465 MB / 1.51 GB, free: 8.402 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/1.651, allocations: 1.015 MB / 1.511 GB, free: 7.383 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005032/1.656, allocations: 2.797 MB / 1.514 GB, free: 4.582 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.656, allocations: 0 / 1.514 GB, free: 4.582 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/1.656, allocations: 3.938 kB / 1.514 GB, free: 4.578 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.542e-05/1.656, allocations: 0 / 1.514 GB, free: 4.578 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.005408/1.662, allocations: 2.233 MB / 1.516 GB, free: 2.285 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.662, allocations: 15.98 kB / 1.516 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/1.662, allocations: 207.8 kB / 1.516 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/1.665, allocations: 1.127 MB / 1.517 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.665, allocations: 115 kB / 1.518 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/1.665, allocations: 156 kB / 1.518 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/1.669, allocations: 2.086 MB / 1.52 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/1.669, allocations: 3.953 kB / 1.52 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/1.669, allocations: 60 kB / 1.52 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/1.669, allocations: 99.22 kB / 1.52 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/1.674, allocations: 2.745 MB / 1.523 GB, free: 11.59 MB / 1.201 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.01009/1.684, allocations: 6.495 MB / 1.529 GB, free: 4.711 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/1.688, allocations: 2.591 MB / 1.531 GB, free: 2.109 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/1.69, allocations: 1.261 MB / 1.533 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/1.692, allocations: 1.734 MB / 1.534 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/1.692, allocations: 56.56 kB / 1.534 GB, free: 14.68 MB / 1.217 GB Notification: Performance of pre-optimization done (n=237): time 4.338e-06/1.692, allocations: 0 / 1.534 GB, free: 14.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=237): time 0.006345/1.698, allocations: 3.442 MB / 1.538 GB, free: 11.19 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/1.698, allocations: 81.34 kB / 1.538 GB, free: 11.1 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.7, allocations: 0.8016 MB / 1.539 GB, free: 10.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.7, allocations: 69.7 kB / 1.539 GB, free: 10.21 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/1.7, allocations: 0.5802 MB / 1.539 GB, free: 9.621 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/1.701, allocations: 0.8366 MB / 1.54 GB, free: 8.777 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000662/1.702, allocations: 412.6 kB / 1.54 GB, free: 8.367 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.702, allocations: 349.9 kB / 1.541 GB, free: 8.02 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.704, allocations: 0.9963 MB / 1.542 GB, free: 7.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.706, allocations: 1.25 MB / 1.543 GB, free: 5.711 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/1.71, allocations: 2.384 MB / 1.545 GB, free: 3.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.71, allocations: 3.938 kB / 1.545 GB, free: 3.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004929/1.715, allocations: 2.701 MB / 1.548 GB, free: 0.5 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.715, allocations: 13.66 kB / 1.548 GB, free: 500 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.715, allocations: 4 kB / 1.548 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/1.715, allocations: 12 kB / 1.548 GB, free: 484 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.717, allocations: 499.4 kB / 1.548 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/1.717, allocations: 15.94 kB / 1.549 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.718, allocations: 206.4 kB / 1.549 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.719, allocations: 79.98 kB / 1.549 GB, free: 15.69 MB / 1.232 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 (303): * Single equations (assignments): 303 * 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.0008905/1.719, allocations: 457.2 kB / 1.549 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.72, allocations: 151 kB / 1.549 GB, free: 15.08 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/1.725, allocations: 2.721 MB / 1.552 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.725, allocations: 24 kB / 1.552 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.725, allocations: 0 / 1.552 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003787/1.729, allocations: 2.381 MB / 1.554 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007173/1.736, allocations: 4.302 MB / 1.559 GB, free: 5.512 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.736, allocations: 4 kB / 1.559 GB, free: 5.508 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.738, allocations: 403.6 kB / 1.559 GB, free: 5.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/1.738, allocations: 105.5 kB / 1.559 GB, free: 5.004 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.738, allocations: 51.98 kB / 1.559 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/1.739, allocations: 1.116 MB / 1.56 GB, free: 3.785 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.739, allocations: 3.938 kB / 1.56 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/1.746, allocations: 4.07 MB / 1.564 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.747, allocations: 491.3 kB / 1.565 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.747, allocations: 43.94 kB / 1.565 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/1.748, allocations: 51.98 kB / 1.565 GB, free: 15.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.749, allocations: 141.8 kB / 1.565 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.749, allocations: 67.98 kB / 1.565 GB, free: 14.88 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008563/1.75, allocations: 0.5536 MB / 1.565 GB, free: 14.33 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.75, allocations: 0 / 1.565 GB, free: 14.33 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001785/1.751, allocations: 0.6826 MB / 1.566 GB, free: 13.64 MB / 1.248 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.0008089/1.752, allocations: 390.3 kB / 1.567 GB, free: 13.25 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004241/1.756, allocations: 2.322 MB / 1.569 GB, free: 10.93 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.756, allocations: 0 / 1.569 GB, free: 10.93 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.759, allocations: 1.16 MB / 1.57 GB, free: 9.773 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.761, allocations: 0.575 MB / 1.57 GB, free: 9.215 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/1.768, allocations: 3.888 MB / 1.574 GB, free: 5.277 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.769, allocations: 1.332 MB / 1.576 GB, free: 3.918 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008846/1.77, allocations: 187.4 kB / 1.576 GB, free: 3.734 MB / 1.248 GB Notification: Performance of SimCode: time 1.573e-06/1.77, allocations: 0 / 1.576 GB, free: 3.734 MB / 1.248 GB Notification: Performance of Templates: time 0.05872/1.829, allocations: 32.63 MB / 1.608 GB, free: 3.164 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.453478046008968]