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.001738/0.001738, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.001961/0.001961, allocations: 214 kB / 22.99 MB, free: 4.957 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.312/3.312, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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.00215/0.00215, allocations: 71.2 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4814, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2099/0.6914, allocations: 148.1 MB / 1.471 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.706, allocations: 7.917 MB / 1.479 GB, free: 5.297 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.7081, allocations: 55.56 kB / 1.479 GB, free: 5.242 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.71, allocations: 0.5395 MB / 1.479 GB, free: 4.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005416/0.7154, allocations: 1.614 MB / 1.481 GB, free: 3.078 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.7188, allocations: 1.026 MB / 1.482 GB, free: 2.059 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006114/0.7249, allocations: 4.152 MB / 1.486 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.7269, allocations: 1.058 MB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/0.7314, allocations: 1.649 MB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.7345, allocations: 1.491 MB / 1.49 GB, free: 9.668 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.7349, allocations: 188 kB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.7376, allocations: 0.979 MB / 1.491 GB, free: 8.504 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.7384, allocations: 0.6426 MB / 1.492 GB, free: 7.859 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.7399, allocations: 0.8637 MB / 1.493 GB, free: 6.992 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.7452, allocations: 2.791 MB / 1.495 GB, free: 4.191 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.7452, allocations: 0 / 1.495 GB, free: 4.191 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7452, allocations: 0 / 1.495 GB, free: 4.191 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.781e-05/0.7453, allocations: 0 / 1.495 GB, free: 4.191 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.00559/0.7509, allocations: 2.162 MB / 1.497 GB, free: 1.988 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.7509, allocations: 8.031 kB / 1.497 GB, free: 1.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/0.7516, allocations: 215.7 kB / 1.498 GB, free: 1.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.754, allocations: 1.047 MB / 1.499 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.7541, allocations: 131 kB / 1.499 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.7544, allocations: 152 kB / 1.499 GB, free: 424 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.7583, allocations: 2.233 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.7584, allocations: 7.953 kB / 1.501 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.7585, allocations: 60 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.7586, allocations: 91.28 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.7633, allocations: 2.691 MB / 1.504 GB, free: 11.25 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.009511/0.7728, allocations: 4.571 MB / 1.508 GB, free: 6.625 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.7768, allocations: 2.564 MB / 1.511 GB, free: 4.055 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.7789, allocations: 1.268 MB / 1.512 GB, free: 2.781 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.7799, allocations: 237.8 kB / 1.512 GB, free: 2.551 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.952e-05/0.78, allocations: 60.56 kB / 1.512 GB, free: 2.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=237): time 4.368e-06/0.78, allocations: 0 / 1.512 GB, free: 2.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=237): time 0.006076/0.7861, allocations: 3.292 MB / 1.516 GB, free: 15.18 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.7862, allocations: 77.41 kB / 1.516 GB, free: 15.09 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.7875, allocations: 0.8404 MB / 1.516 GB, free: 14.24 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.7876, allocations: 61.7 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.7881, allocations: 0.584 MB / 1.517 GB, free: 13.58 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000895/0.789, allocations: 0.8327 MB / 1.518 GB, free: 12.74 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006449/0.7897, allocations: 408.7 kB / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7899, allocations: 353.9 kB / 1.519 GB, free: 11.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.7916, allocations: 0.9963 MB / 1.52 GB, free: 10.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.7936, allocations: 1.242 MB / 1.521 GB, free: 9.684 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/0.7975, allocations: 2.384 MB / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.7975, allocations: 0 / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004815/0.8023, allocations: 2.701 MB / 1.526 GB, free: 4.477 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.8024, allocations: 11.98 kB / 1.526 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.8024, allocations: 7.938 kB / 1.526 GB, free: 4.457 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.751e-05/0.8024, allocations: 12 kB / 1.526 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.8044, allocations: 0.4919 MB / 1.526 GB, free: 3.953 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.8045, allocations: 16 kB / 1.526 GB, free: 3.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8059, allocations: 194.5 kB / 1.526 GB, free: 3.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.806, allocations: 83.98 kB / 1.527 GB, free: 3.664 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.0008723/0.8069, allocations: 457.7 kB / 1.527 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.8072, allocations: 155 kB / 1.527 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004914/0.8122, allocations: 2.725 MB / 1.53 GB, free: 320 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.8122, allocations: 24 kB / 1.53 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8122, allocations: 4 kB / 1.53 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003736/0.8159, allocations: 2.385 MB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/0.8227, allocations: 3.807 MB / 1.536 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8228, allocations: 0 / 1.536 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8244, allocations: 411.4 kB / 1.536 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.825, allocations: 97.69 kB / 1.536 GB, free: 9.484 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.8251, allocations: 51.98 kB / 1.536 GB, free: 9.434 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008888/0.826, allocations: 1.12 MB / 1.537 GB, free: 8.262 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.826, allocations: 0 / 1.537 GB, free: 8.262 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/0.8327, allocations: 4.074 MB / 1.541 GB, free: 4.164 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8341, allocations: 410.2 kB / 1.542 GB, free: 3.762 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.8343, allocations: 36 kB / 1.542 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/0.8351, allocations: 51.98 kB / 1.542 GB, free: 3.676 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.8354, allocations: 153.7 kB / 1.542 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.8356, allocations: 67.98 kB / 1.542 GB, free: 3.457 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008282/0.8364, allocations: 0.5498 MB / 1.543 GB, free: 2.906 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.8364, allocations: 0 / 1.543 GB, free: 2.906 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001754/0.8382, allocations: 0.6903 MB / 1.543 GB, free: 2.215 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.000831/0.839, allocations: 390.3 kB / 1.544 GB, free: 1.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004231/0.8432, allocations: 2.323 MB / 1.546 GB, free: 15.5 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.8432, allocations: 0 / 1.546 GB, free: 15.5 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.8453, allocations: 1.151 MB / 1.547 GB, free: 14.34 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.848, allocations: 0.5701 MB / 1.548 GB, free: 13.79 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.8547, allocations: 3.894 MB / 1.551 GB, free: 9.848 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.8556, allocations: 0.7469 MB / 1.552 GB, free: 9.062 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/0.8565, allocations: 191.3 kB / 1.552 GB, free: 8.875 MB / 1.248 GB Notification: Performance of SimCode: time 1.784e-06/0.8565, allocations: 0 / 1.552 GB, free: 8.875 MB / 1.248 GB Notification: Performance of Templates: time 0.05753/0.9141, allocations: 33.36 MB / 1.585 GB, free: 7.559 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.643253138288856]