Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.001526/0.001526, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001772/0.001772, allocations: 221.1 kB / 23 MB, free: 4.914 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.673/1.673, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.576/3.576, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") [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.002109/0.002109, allocations: 66.27 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4778, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.287/0.7648, allocations: 193.5 MB / 1.554 GB, free: 11.37 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03359/0.7984, allocations: 18.91 MB / 1.572 GB, free: 8.398 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003778/0.8022, allocations: 75.44 kB / 1.572 GB, free: 8.324 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.8066, allocations: 1.185 MB / 1.573 GB, free: 7.133 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.8208, allocations: 4.262 MB / 1.577 GB, free: 2.855 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.8259, allocations: 1.564 MB / 1.579 GB, free: 1.293 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.8378, allocations: 7.07 MB / 1.586 GB, free: 10.2 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.8419, allocations: 1.81 MB / 1.588 GB, free: 8.348 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0073/0.8492, allocations: 2.59 MB / 1.59 GB, free: 5.75 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006977/0.8562, allocations: 2.461 MB / 1.593 GB, free: 3.289 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008893/0.8571, allocations: 344 kB / 1.593 GB, free: 2.953 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009353/0.8664, allocations: 2.88 MB / 1.596 GB, free: 68 kB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002523/0.869, allocations: 1.422 MB / 1.597 GB, free: 14.64 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004045/0.873, allocations: 1.576 MB / 1.599 GB, free: 13.05 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.8873, allocations: 5.684 MB / 1.604 GB, free: 7.355 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.8873, allocations: 0 / 1.604 GB, free: 7.355 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8873, allocations: 0 / 1.604 GB, free: 7.355 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001329/0.8874, allocations: 0 / 1.604 GB, free: 7.355 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.01109/0.8985, allocations: 3.845 MB / 1.608 GB, free: 3.457 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.8985, allocations: 12.03 kB / 1.608 GB, free: 3.445 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/0.9138, allocations: 1.886 MB / 1.61 GB, free: 1.555 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9611/1.875, allocations: 1.884 MB / 1.612 GB, free: 245 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/1.875, allocations: 223.5 kB / 1.612 GB, free: 245 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/1.876, allocations: 267.8 kB / 1.612 GB, free: 245 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.887, allocations: 4.774 MB / 1.617 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.868e-05/1.887, allocations: 7.438 kB / 1.617 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/1.888, allocations: 111 kB / 1.617 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/1.888, allocations: 197.7 kB / 1.617 GB, free: 243.1 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/1.903, allocations: 6.28 MB / 1.623 GB, free: 241.3 MB / 1.295 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.02397/1.927, allocations: 9.105 MB / 1.632 GB, free: 237.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.937, allocations: 5.736 MB / 1.638 GB, free: 235.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006766/1.944, allocations: 2.888 MB / 1.641 GB, free: 234.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/1.944, allocations: 61.27 kB / 1.641 GB, free: 234.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/1.944, allocations: 77.92 kB / 1.641 GB, free: 234.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 1.483e-05/1.944, allocations: 0 / 1.641 GB, free: 234.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.02006/1.964, allocations: 7.57 MB / 1.648 GB, free: 231.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/1.964, allocations: 96.98 kB / 1.648 GB, free: 231.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/1.968, allocations: 1.29 MB / 1.649 GB, free: 231 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.968, allocations: 96.83 kB / 1.649 GB, free: 230.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/1.969, allocations: 0.9598 MB / 1.65 GB, free: 230.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.971, allocations: 1.407 MB / 1.652 GB, free: 229.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.973, allocations: 0.6701 MB / 1.652 GB, free: 229 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/1.973, allocations: 302.1 kB / 1.653 GB, free: 228.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/1.978, allocations: 2.436 MB / 1.655 GB, free: 227.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005154/1.983, allocations: 2.767 MB / 1.658 GB, free: 226.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009518/1.993, allocations: 5.308 MB / 1.663 GB, free: 221.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/1.993, allocations: 4 kB / 1.663 GB, free: 221.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01016/2.003, allocations: 5.905 MB / 1.669 GB, free: 216 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/2.003, allocations: 8 kB / 1.669 GB, free: 216 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/2.003, allocations: 0 / 1.669 GB, free: 216 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/2.003, allocations: 20 kB / 1.669 GB, free: 216 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/2.008, allocations: 0.917 MB / 1.67 GB, free: 215 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.937e-05/2.008, allocations: 27.88 kB / 1.67 GB, free: 215 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/2.013, allocations: 426.5 kB / 1.67 GB, free: 214.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/2.013, allocations: 136 kB / 1.67 GB, free: 214.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.001793/2.015, allocations: 0.7429 MB / 1.671 GB, free: 213.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/2.016, allocations: 252.6 kB / 1.671 GB, free: 213.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/2.017, allocations: 421.2 kB / 1.672 GB, free: 213.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/2.017, allocations: 39.94 kB / 1.672 GB, free: 213 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-05/2.017, allocations: 3.594 kB / 1.672 GB, free: 213 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008562/2.026, allocations: 5.109 MB / 1.677 GB, free: 207.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/2.042, allocations: 9.172 MB / 1.686 GB, free: 198.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/2.042, allocations: 4.969 kB / 1.686 GB, free: 198.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004801/2.047, allocations: 0.7875 MB / 1.686 GB, free: 198 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/2.047, allocations: 146.2 kB / 1.687 GB, free: 197.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004269/2.048, allocations: 87.95 kB / 1.687 GB, free: 197.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/2.051, allocations: 4.678 MB / 1.691 GB, free: 192.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/2.051, allocations: 5.312 kB / 1.691 GB, free: 192.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/2.065, allocations: 8.907 MB / 1.7 GB, free: 183.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/2.068, allocations: 0.805 MB / 1.701 GB, free: 183 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000743/2.069, allocations: 68 kB / 1.701 GB, free: 182.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/2.073, allocations: 208.9 kB / 1.701 GB, free: 182.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/2.073, allocations: 226.7 kB / 1.701 GB, free: 182.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/2.074, allocations: 121.2 kB / 1.701 GB, free: 182.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001256/2.075, allocations: 0.8563 MB / 1.702 GB, free: 181.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.075, allocations: 0 / 1.702 GB, free: 181.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003162/2.078, allocations: 1.229 MB / 1.703 GB, free: 180.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007609/2.079, allocations: 302.9 kB / 1.704 GB, free: 180 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008993/2.088, allocations: 5.322 MB / 1.709 GB, free: 174.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/2.088, allocations: 0 / 1.709 GB, free: 174.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004767/2.092, allocations: 2.966 MB / 1.712 GB, free: 171.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/2.098, allocations: 1.073 MB / 1.713 GB, free: 170.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/2.111, allocations: 7.864 MB / 1.72 GB, free: 162.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/2.113, allocations: 1.37 MB / 1.722 GB, free: 161.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/2.116, allocations: 311.3 kB / 1.722 GB, free: 161 MB / 1.295 GB Notification: Performance of SimCode: time 1.873e-06/2.116, allocations: 4 kB / 1.722 GB, free: 161 MB / 1.295 GB Notification: Performance of Templates: time 0.08681/2.203, allocations: 71.02 MB / 1.791 GB, free: 90.06 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.16040256107226]