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.001543/0.001543, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001915/0.001915, allocations: 219.5 kB / 23.04 MB, free: 4.844 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002052/0.002052, allocations: 68.11 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4491, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2081/0.6572, allocations: 148.1 MB / 1.472 GB, free: 12.31 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.6717, allocations: 7.905 MB / 1.479 GB, free: 4.379 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.6738, allocations: 51.56 kB / 1.48 GB, free: 4.328 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.6758, allocations: 0.5512 MB / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.6808, allocations: 1.613 MB / 1.482 GB, free: 2.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.684, allocations: 1.015 MB / 1.483 GB, free: 1.145 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005975/0.69, allocations: 4.158 MB / 1.487 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.6919, allocations: 1.058 MB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.6962, allocations: 1.648 MB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.6991, allocations: 1.491 MB / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003576/0.6995, allocations: 188 kB / 1.491 GB, free: 8.566 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.702, allocations: 0.979 MB / 1.492 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.7027, allocations: 0.6465 MB / 1.493 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.704, allocations: 0.8637 MB / 1.493 GB, free: 6.07 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.7084, allocations: 2.783 MB / 1.496 GB, free: 3.277 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7084, allocations: 0 / 1.496 GB, free: 3.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7084, allocations: 3.938 kB / 1.496 GB, free: 3.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.7084, allocations: 0 / 1.496 GB, free: 3.273 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.004778/0.7132, allocations: 2.167 MB / 1.498 GB, free: 1.066 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7133, allocations: 8.031 kB / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.7139, allocations: 211.7 kB / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.7159, allocations: 1.051 MB / 1.499 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.716, allocations: 119.1 kB / 1.5 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.7162, allocations: 152 kB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/0.7196, allocations: 2.237 MB / 1.502 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.7196, allocations: 3.953 kB / 1.502 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.7198, allocations: 68 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.7199, allocations: 91.28 kB / 1.502 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/0.7242, allocations: 2.69 MB / 1.505 GB, free: 10.34 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.008448/0.7326, allocations: 4.575 MB / 1.509 GB, free: 5.703 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.7363, allocations: 2.564 MB / 1.512 GB, free: 3.129 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.7384, allocations: 1.264 MB / 1.513 GB, free: 1.859 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/0.7393, allocations: 245.8 kB / 1.513 GB, free: 1.621 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.7394, allocations: 56.56 kB / 1.513 GB, free: 1.555 MB / 1.201 GB Notification: Performance of pre-optimization done (n=237): time 4.899e-06/0.7394, allocations: 4 kB / 1.513 GB, free: 1.551 MB / 1.201 GB Notification: Performance of matching and sorting (n=237): time 0.005756/0.7451, allocations: 3.292 MB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.7452, allocations: 73.41 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.7464, allocations: 0.8326 MB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7465, allocations: 65.7 kB / 1.517 GB, free: 13.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.747, allocations: 0.5763 MB / 1.518 GB, free: 12.67 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/0.7478, allocations: 0.8405 MB / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/0.7485, allocations: 408.7 kB / 1.519 GB, free: 11.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.7487, allocations: 357.9 kB / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.7503, allocations: 0.9963 MB / 1.52 GB, free: 10.06 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.7522, allocations: 1.246 MB / 1.522 GB, free: 8.754 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.756, allocations: 2.384 MB / 1.524 GB, free: 6.293 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.756, allocations: 4 kB / 1.524 GB, free: 6.289 MB / 1.217 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004632/0.7606, allocations: 2.697 MB / 1.527 GB, free: 3.547 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.7607, allocations: 8 kB / 1.527 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.7607, allocations: 15.95 kB / 1.527 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/0.7607, allocations: 12 kB / 1.527 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.7627, allocations: 0.4915 MB / 1.527 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-05/0.7627, allocations: 15.98 kB / 1.527 GB, free: 3.004 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7641, allocations: 198.4 kB / 1.527 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.7642, allocations: 83.98 kB / 1.527 GB, free: 2.727 MB / 1.217 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.0008672/0.7651, allocations: 457.7 kB / 1.528 GB, free: 2.27 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.7655, allocations: 147.1 kB / 1.528 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/0.7704, allocations: 2.721 MB / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.7704, allocations: 24 kB / 1.531 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7704, allocations: 4 kB / 1.531 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003631/0.774, allocations: 2.385 MB / 1.533 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/0.7804, allocations: 3.803 MB / 1.537 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.7804, allocations: 4.062 kB / 1.537 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.7821, allocations: 411.4 kB / 1.537 GB, free: 8.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.7826, allocations: 93.62 kB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.7827, allocations: 51.98 kB / 1.537 GB, free: 8.512 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/0.7836, allocations: 1.12 MB / 1.538 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7836, allocations: 0 / 1.538 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/0.7901, allocations: 4.066 MB / 1.542 GB, free: 3.25 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.7911, allocations: 418.3 kB / 1.543 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.7913, allocations: 40 kB / 1.543 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.7922, allocations: 47.98 kB / 1.543 GB, free: 2.754 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.7924, allocations: 145.7 kB / 1.543 GB, free: 2.609 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.7926, allocations: 71.98 kB / 1.543 GB, free: 2.539 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007912/0.7934, allocations: 0.5536 MB / 1.544 GB, free: 1.984 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7934, allocations: 0 / 1.544 GB, free: 1.984 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001646/0.795, allocations: 0.6865 MB / 1.544 GB, free: 1.297 MB / 1.232 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.0007381/0.7958, allocations: 382.3 kB / 1.545 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004052/0.7998, allocations: 2.33 MB / 1.547 GB, free: 14.58 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.7998, allocations: 4 kB / 1.547 GB, free: 14.58 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.8018, allocations: 1.152 MB / 1.548 GB, free: 13.43 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.8044, allocations: 0.5846 MB / 1.549 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.8107, allocations: 3.89 MB / 1.552 GB, free: 8.918 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/0.8116, allocations: 0.747 MB / 1.553 GB, free: 8.133 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008551/0.8124, allocations: 187.4 kB / 1.553 GB, free: 7.949 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/0.8124, allocations: 0 / 1.553 GB, free: 7.949 MB / 1.248 GB Notification: Performance of Templates: time 0.05282/0.8652, allocations: 33.37 MB / 1.586 GB, free: 6.633 MB / 1.279 GB " [Timeout remaining time 299] 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: 16.090235284063965]