Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001486/0.001486, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001588/0.001588, allocations: 210.1 kB / 22.99 MB, free: 4.977 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_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_12_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.002099/0.002099, allocations: 64.97 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2421/0.5635, allocations: 193.5 MB / 1.516 GB, free: 14.84 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02929/0.5927, allocations: 18.91 MB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.5953, allocations: 79.38 kB / 1.535 GB, free: 11.8 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.5988, allocations: 1.181 MB / 1.536 GB, free: 10.61 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.6102, allocations: 4.266 MB / 1.54 GB, free: 6.328 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.6146, allocations: 1.588 MB / 1.541 GB, free: 4.742 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009608/0.6242, allocations: 7.107 MB / 1.548 GB, free: 13.61 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.6275, allocations: 1.81 MB / 1.55 GB, free: 11.75 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.6328, allocations: 2.586 MB / 1.553 GB, free: 9.16 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005537/0.6383, allocations: 2.559 MB / 1.555 GB, free: 6.602 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.6394, allocations: 344 kB / 1.555 GB, free: 6.266 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007514/0.6469, allocations: 2.911 MB / 1.558 GB, free: 3.348 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.649, allocations: 1.418 MB / 1.56 GB, free: 1.926 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.6519, allocations: 1.568 MB / 1.561 GB, free: 360 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009542/0.6614, allocations: 5.68 MB / 1.567 GB, free: 10.65 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6614, allocations: 0 / 1.567 GB, free: 10.65 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6614, allocations: 0 / 1.567 GB, free: 10.65 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.695e-05/0.6615, allocations: 0 / 1.567 GB, free: 10.65 MB / 1.264 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.01044/0.672, allocations: 3.841 MB / 1.571 GB, free: 6.758 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.672, allocations: 16.02 kB / 1.571 GB, free: 6.742 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.6774, allocations: 0.8487 MB / 1.571 GB, free: 5.891 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.6817, allocations: 1.774 MB / 1.573 GB, free: 4.066 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.6818, allocations: 205.4 kB / 1.573 GB, free: 3.863 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.6824, allocations: 275.9 kB / 1.574 GB, free: 3.594 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/0.6891, allocations: 3.877 MB / 1.577 GB, free: 15.59 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.6891, allocations: 4 kB / 1.577 GB, free: 15.58 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.6894, allocations: 108 kB / 1.577 GB, free: 15.48 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.6897, allocations: 193.8 kB / 1.578 GB, free: 15.29 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008398/0.6981, allocations: 4.941 MB / 1.582 GB, free: 10.33 MB / 1.279 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.0173/0.7154, allocations: 7.634 MB / 1.59 GB, free: 2.637 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.7221, allocations: 4.519 MB / 1.594 GB, free: 14.07 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.7259, allocations: 2.285 MB / 1.597 GB, free: 11.78 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/0.7268, allocations: 183 kB / 1.597 GB, free: 11.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/0.7268, allocations: 81.64 kB / 1.597 GB, free: 11.51 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 6.463e-06/0.7268, allocations: 0 / 1.597 GB, free: 11.51 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01056/0.7374, allocations: 5.802 MB / 1.602 GB, free: 5.676 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.7375, allocations: 98.53 kB / 1.603 GB, free: 5.566 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.7394, allocations: 1.285 MB / 1.604 GB, free: 4.273 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/0.7397, allocations: 93.7 kB / 1.604 GB, free: 4.176 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.7405, allocations: 0.9491 MB / 1.605 GB, free: 3.215 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.742, allocations: 1.414 MB / 1.606 GB, free: 1.789 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.7431, allocations: 0.6383 MB / 1.607 GB, free: 1.145 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7432, allocations: 305.1 kB / 1.607 GB, free: 0.8438 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.658/1.401, allocations: 1.743 MB / 1.609 GB, free: 277.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004421/1.406, allocations: 2.089 MB / 1.611 GB, free: 277.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007288/1.413, allocations: 4.07 MB / 1.615 GB, free: 275.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/1.413, allocations: 2.25 kB / 1.615 GB, free: 275.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.008867/1.422, allocations: 4.592 MB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.422, allocations: 12.88 kB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/1.422, allocations: 3.75 kB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.308e-05/1.422, allocations: 18.84 kB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004076/1.426, allocations: 0.7769 MB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.904e-05/1.426, allocations: 20.81 kB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.429, allocations: 305.7 kB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/1.429, allocations: 124.8 kB / 1.621 GB, free: 273.8 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.001394/1.431, allocations: 0.7424 MB / 1.621 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006018/1.431, allocations: 254.5 kB / 1.622 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/1.439, allocations: 4.632 MB / 1.626 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/1.439, allocations: 38.31 kB / 1.626 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.439, allocations: 2.047 kB / 1.626 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006318/1.445, allocations: 3.96 MB / 1.63 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.461, allocations: 7.364 MB / 1.637 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.461, allocations: 0 / 1.637 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/1.464, allocations: 0.6638 MB / 1.638 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/1.465, allocations: 140.6 kB / 1.638 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/1.465, allocations: 86.31 kB / 1.638 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/1.468, allocations: 4.65 MB / 1.643 GB, free: 262.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.468, allocations: 5.625 kB / 1.643 GB, free: 262.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.479, allocations: 6.831 MB / 1.649 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.481, allocations: 0.6902 MB / 1.65 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006138/1.482, allocations: 71.97 kB / 1.65 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.484, allocations: 92.16 kB / 1.65 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/1.484, allocations: 240.5 kB / 1.65 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.484, allocations: 115.1 kB / 1.65 GB, free: 258.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001154/1.486, allocations: 0.8436 MB / 1.651 GB, free: 257.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.486, allocations: 0 / 1.651 GB, free: 257.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003007/1.489, allocations: 1.126 MB / 1.652 GB, free: 256.4 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.0007527/1.489, allocations: 341.3 kB / 1.653 GB, free: 256.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006068/1.495, allocations: 4.032 MB / 1.657 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.495, allocations: 2.516 kB / 1.657 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/1.499, allocations: 2.361 MB / 1.659 GB, free: 250.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.503, allocations: 1.069 MB / 1.66 GB, free: 249.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/1.513, allocations: 6.684 MB / 1.666 GB, free: 243.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.514, allocations: 1.379 MB / 1.668 GB, free: 241.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003641/1.517, allocations: 1.31 MB / 1.669 GB, free: 240.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/1.518, allocations: 243.4 kB / 1.669 GB, free: 240.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/1.518, allocations: 0 / 1.669 GB, free: 240.3 MB / 1.295 GB Notification: Performance of Templates: time 0.06457/1.583, allocations: 54.39 MB / 1.722 GB, free: 186.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.830936287995428]