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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 191.4 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.965/2.965, allocations: 495.8 MB / 0.7831 GB, free: 12.25 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.648/1.65, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3254/1.976, allocations: 217.5 MB / 1.519 GB, free: 14.96 MB / 1.201 GB
Notification: Performance of NFInst.instExpressions: time 0.03359/2.009, allocations: 20.39 MB / 1.539 GB, free: 10.51 MB / 1.217 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004674/2.014, allocations: 75.44 kB / 1.539 GB, free: 10.43 MB / 1.217 GB
Notification: Performance of NFTyping.typeComponents: time 0.004739/2.019, allocations: 1.325 MB / 1.54 GB, free: 9.102 MB / 1.217 GB
Notification: Performance of NFTyping.typeBindings: time 0.01432/2.033, allocations: 4.29 MB / 1.545 GB, free: 4.793 MB / 1.217 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00567/2.039, allocations: 1.603 MB / 1.546 GB, free: 3.191 MB / 1.217 GB
Notification: Performance of NFFlatten.flatten: time 0.01288/2.051, allocations: 7.114 MB / 1.553 GB, free: 12.06 MB / 1.232 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.004071/2.056, allocations: 1.806 MB / 1.555 GB, free: 10.21 MB / 1.232 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006984/2.063, allocations: 2.563 MB / 1.557 GB, free: 7.637 MB / 1.232 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006443/2.069, allocations: 2.555 MB / 1.56 GB, free: 5.082 MB / 1.232 GB
Notification: Performance of NFPackage.collectConstants: time 0.001372/2.07, allocations: 344 kB / 1.56 GB, free: 4.746 MB / 1.232 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00958/2.08, allocations: 2.907 MB / 1.563 GB, free: 1.832 MB / 1.232 GB
Notification: Performance of NFScalarize.scalarize: time 0.003158/2.083, allocations: 1.426 MB / 1.564 GB, free: 412 kB / 1.232 GB
Notification: Performance of NFVerifyModel.verify: time 0.005022/2.088, allocations: 1.844 MB / 1.566 GB, free: 14.55 MB / 1.248 GB
Notification: Performance of NFConvertDAE.convert: time 0.01476/2.103, allocations: 5.636 MB / 1.572 GB, free: 8.902 MB / 1.248 GB
Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/2.103, allocations: 0 / 1.572 GB, free: 8.902 MB / 1.248 GB
Notification: Performance of FrontEnd: time 1.703e-06/2.103, allocations: 0 / 1.572 GB, free: 8.902 MB / 1.248 GB
Notification: Performance of Transformations before backend: time 0.0001767/2.103, allocations: 0 / 1.572 GB, free: 8.902 MB / 1.248 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.01469/2.118, allocations: 3.841 MB / 1.576 GB, free: 5.008 MB / 1.248 GB
Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/2.118, allocations: 8.031 kB / 1.576 GB, free: 5 MB / 1.248 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/2.123, allocations: 0.8409 MB / 1.576 GB, free: 4.156 MB / 1.248 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/2.129, allocations: 1.774 MB / 1.578 GB, free: 2.332 MB / 1.248 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/2.129, allocations: 209.4 kB / 1.578 GB, free: 2.125 MB / 1.248 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009781/2.13, allocations: 271.9 kB / 1.579 GB, free: 1.859 MB / 1.248 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00779/2.138, allocations: 3.493 MB / 1.582 GB, free: 14.33 MB / 1.264 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/2.138, allocations: 3.984 kB / 1.582 GB, free: 14.32 MB / 1.264 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/2.139, allocations: 112 kB / 1.582 GB, free: 14.21 MB / 1.264 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002596/2.139, allocations: 193.8 kB / 1.582 GB, free: 14.02 MB / 1.264 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/2.15, allocations: 5.027 MB / 1.587 GB, free: 8.984 MB / 1.264 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.02646/2.176, allocations: 11.42 MB / 1.598 GB, free: 12.84 MB / 1.279 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008752/2.185, allocations: 4.524 MB / 1.603 GB, free: 8.277 MB / 1.279 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.006402/2.192, allocations: 2.29 MB / 1.605 GB, free: 5.984 MB / 1.279 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001187/2.193, allocations: 198.9 kB / 1.605 GB, free: 5.789 MB / 1.279 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/2.193, allocations: 77.7 kB / 1.605 GB, free: 5.703 MB / 1.279 GB
Notification: Performance of pre-optimization done (n=399): time 8.496e-06/2.193, allocations: 0 / 1.605 GB, free: 5.703 MB / 1.279 GB
Notification: Performance of matching and sorting (n=399): time 0.0184/2.211, allocations: 5.802 MB / 1.611 GB, free: 15.87 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/2.211, allocations: 90.55 kB / 1.611 GB, free: 15.77 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/2.215, allocations: 1.283 MB / 1.612 GB, free: 14.48 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 0.0008724/2.216, allocations: 89.7 kB / 1.612 GB, free: 14.39 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001161/2.217, allocations: 0.9649 MB / 1.613 GB, free: 13.41 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002836/2.22, allocations: 1.414 MB / 1.615 GB, free: 11.98 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/2.223, allocations: 0.6422 MB / 1.615 GB, free: 11.34 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.0001778/2.223, allocations: 305.1 kB / 1.616 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/2.227, allocations: 1.745 MB / 1.617 GB, free: 9.289 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/2.232, allocations: 2.087 MB / 1.619 GB, free: 7.164 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009352/2.241, allocations: 4.078 MB / 1.623 GB, free: 3.035 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/2.241, allocations: 0 / 1.623 GB, free: 3.035 MB / 1.295 GB
Notification: Performance of matching and sorting (n=493) (initialization): time 0.01257/2.254, allocations: 4.59 MB / 1.628 GB, free: 14.43 MB / 1.311 GB
Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/2.254, allocations: 8.406 kB / 1.628 GB, free: 14.42 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/2.254, allocations: 8 kB / 1.628 GB, free: 14.41 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/2.254, allocations: 20 kB / 1.628 GB, free: 14.39 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/2.258, allocations: 0.7763 MB / 1.629 GB, free: 13.62 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.633e-05/2.258, allocations: 19.94 kB / 1.629 GB, free: 13.6 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/2.262, allocations: 309.5 kB / 1.629 GB, free: 13.29 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/2.263, allocations: 132 kB / 1.629 GB, free: 13.16 MB / 1.311 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.002786/2.266, allocations: 0.7468 MB / 1.63 GB, free: 12.41 MB / 1.311 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/2.267, allocations: 254.4 kB / 1.63 GB, free: 12.16 MB / 1.311 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/2.279, allocations: 4.63 MB / 1.635 GB, free: 7.48 MB / 1.311 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/2.279, allocations: 40 kB / 1.635 GB, free: 7.441 MB / 1.311 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/2.279, allocations: 4 kB / 1.635 GB, free: 7.438 MB / 1.311 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009806/2.289, allocations: 3.957 MB / 1.638 GB, free: 3.422 MB / 1.311 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/2.311, allocations: 8.253 MB / 1.646 GB, free: 11.09 MB / 1.326 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/2.311, allocations: 0 / 1.646 GB, free: 11.09 MB / 1.326 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00373/2.315, allocations: 0.6709 MB / 1.647 GB, free: 10.41 MB / 1.326 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/2.316, allocations: 130.5 kB / 1.647 GB, free: 10.28 MB / 1.326 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007781/2.316, allocations: 91.95 kB / 1.647 GB, free: 10.19 MB / 1.326 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/2.321, allocations: 4.729 MB / 1.652 GB, free: 5.117 MB / 1.326 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.321, allocations: 0 / 1.652 GB, free: 5.117 MB / 1.326 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/2.338, allocations: 6.833 MB / 1.659 GB, free: 14.23 MB / 1.342 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003406/2.341, allocations: 0.6966 MB / 1.659 GB, free: 13.53 MB / 1.342 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/2.343, allocations: 68 kB / 1.659 GB, free: 13.46 MB / 1.342 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/2.346, allocations: 92.44 kB / 1.659 GB, free: 13.38 MB / 1.342 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000942/2.347, allocations: 234.7 kB / 1.66 GB, free: 13.14 MB / 1.342 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006101/2.347, allocations: 112 kB / 1.66 GB, free: 13.04 MB / 1.342 GB
Notification: Performance of sorting global known variables: time 0.002229/2.35, allocations: 0.8645 MB / 1.661 GB, free: 12.17 MB / 1.342 GB
Notification: Performance of sort global known variables: time 8e-08/2.35, allocations: 0 / 1.661 GB, free: 12.17 MB / 1.342 GB
Notification: Performance of remove unused functions: time 0.005736/2.355, allocations: 1.124 MB / 1.662 GB, free: 11.04 MB / 1.342 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.001353/2.357, allocations: 339.4 kB / 1.662 GB, free: 10.7 MB / 1.342 GB
Notification: Performance of simCode: created initialization part: time 0.009563/2.366, allocations: 4.034 MB / 1.666 GB, free: 6.66 MB / 1.342 GB
Notification: Performance of simCode: created event and clocks part: time 6.522e-06/2.366, allocations: 3.938 kB / 1.666 GB, free: 6.656 MB / 1.342 GB
Notification: Performance of simCode: created simulation system equations: time 0.005341/2.372, allocations: 2.36 MB / 1.668 GB, free: 4.258 MB / 1.342 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00725/2.379, allocations: 1.074 MB / 1.669 GB, free: 3.195 MB / 1.342 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/2.396, allocations: 6.695 MB / 1.676 GB, free: 12.45 MB / 1.357 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/2.401, allocations: 1.939 MB / 1.678 GB, free: 10.47 MB / 1.357 GB
Notification: Performance of simCode: alias equations: time 0.007628/2.408, allocations: 1.31 MB / 1.679 GB, free: 9.152 MB / 1.357 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/2.411, allocations: 243.4 kB / 1.679 GB, free: 8.914 MB / 1.357 GB
Notification: Performance of SimCode: time 2.484e-06/2.411, allocations: 0 / 1.679 GB, free: 8.914 MB / 1.357 GB
Notification: Performance of Templates: time 0.1075/2.518, allocations: 51.49 MB / 1.73 GB, free: 5.934 MB / 1.404 GB
"
[Timeout remaining time 297]
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  -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/jenkins/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: 17.177722024731338]