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.00146/0.00146, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001583/0.001583, allocations: 161.7 kB / 23.54 MB, free: 0.8672 MB / 18.57 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.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.942/2.942, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.244e-05, allocations: 5.25 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2762/0.2763, allocations: 193.2 MB / 0.9994 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03294/0.3092, allocations: 18.93 MB / 1.018 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.3115, allocations: 75.44 kB / 1.018 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.3151, allocations: 1.196 MB / 1.019 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.3271, allocations: 4.368 MB / 1.023 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004886/0.332, allocations: 1.605 MB / 1.025 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.4436/0.7756, allocations: 7.168 MB / 1.032 GB, free: 20.89 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.7794, allocations: 1.885 MB / 1.034 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008906/0.7883, allocations: 3.448 MB / 1.037 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006214/0.7945, allocations: 2.331 MB / 1.039 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001732/0.7963, allocations: 343.6 kB / 1.04 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007928/0.8042, allocations: 2.926 MB / 1.043 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.8075, allocations: 1.488 MB / 1.044 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005207/0.8127, allocations: 1.352 MB / 1.045 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.8251, allocations: 5.94 MB / 1.051 GB, free: 20.57 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8251, allocations: 0 / 1.051 GB, free: 20.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8251, allocations: 1.656 kB / 1.051 GB, free: 20.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001945/0.8253, allocations: 2.406 kB / 1.051 GB, free: 20.57 MB / 0.9323 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.01295/0.8383, allocations: 3.826 MB / 1.055 GB, free: 19.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.8383, allocations: 10.12 kB / 1.055 GB, free: 19.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/0.844, allocations: 1.119 MB / 1.056 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/0.8483, allocations: 1.843 MB / 1.058 GB, free: 18.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.8484, allocations: 208.5 kB / 1.058 GB, free: 18.47 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006902/0.8491, allocations: 278.9 kB / 1.058 GB, free: 18.46 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/0.8555, allocations: 3.883 MB / 1.062 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/0.8555, allocations: 0.9062 kB / 1.062 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.8558, allocations: 111.4 kB / 1.062 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.856, allocations: 188.1 kB / 1.062 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007184/0.8632, allocations: 4.941 MB / 1.067 GB, free: 17.82 MB / 0.9323 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.01586/0.879, allocations: 7.718 MB / 1.075 GB, free: 17.08 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00547/0.8845, allocations: 4.51 MB / 1.079 GB, free: 16.81 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/0.8882, allocations: 2.284 MB / 1.081 GB, free: 16.78 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008399/0.889, allocations: 208.9 kB / 1.082 GB, free: 16.77 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.889, allocations: 81.08 kB / 1.082 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=399): time 7.514e-06/0.8891, allocations: 0 / 1.082 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=399): time 0.009807/0.8989, allocations: 5.929 MB / 1.087 GB, free: 16.44 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.8989, allocations: 90.8 kB / 1.088 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.901, allocations: 1.292 MB / 1.089 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005438/0.9015, allocations: 90.42 kB / 1.089 GB, free: 16.14 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.9021, allocations: 0.9489 MB / 1.09 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/0.9035, allocations: 1.393 MB / 1.091 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.9051, allocations: 0.6408 MB / 1.092 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.9052, allocations: 309.5 kB / 1.092 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.9082, allocations: 1.75 MB / 1.094 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.9114, allocations: 2.086 MB / 1.096 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/0.9188, allocations: 4.075 MB / 1.1 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.9188, allocations: 1.594 kB / 1.1 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.009485/0.9283, allocations: 4.749 MB / 1.104 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.9283, allocations: 6.188 kB / 1.105 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.9284, allocations: 3.5 kB / 1.105 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-05/0.9285, allocations: 17.75 kB / 1.105 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/0.932, allocations: 0.7768 MB / 1.105 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-05/0.9321, allocations: 23.45 kB / 1.105 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/0.9355, allocations: 309.2 kB / 1.106 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/0.9362, allocations: 126.3 kB / 1.106 GB, free: 13.61 MB / 0.9323 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.00215/0.9383, allocations: 0.7425 MB / 1.106 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/0.9396, allocations: 378.4 kB / 1.107 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/0.948, allocations: 4.628 MB / 1.111 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.948, allocations: 38.09 kB / 1.111 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/0.9481, allocations: 2.562 kB / 1.111 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006116/0.9542, allocations: 3.948 MB / 1.115 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.9692, allocations: 7.375 MB / 1.122 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.9692, allocations: 1.094 kB / 1.122 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/0.9724, allocations: 0.6596 MB / 1.123 GB, free: 6.793 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/0.973, allocations: 175.7 kB / 1.123 GB, free: 6.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005848/0.9736, allocations: 82.66 kB / 1.123 GB, free: 6.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.9766, allocations: 4.663 MB / 1.128 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9766, allocations: 0.7188 kB / 1.128 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.9902, allocations: 7.052 MB / 1.135 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/0.9929, allocations: 0.6993 MB / 1.135 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009048/0.9938, allocations: 64 kB / 1.135 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/0.9964, allocations: 85.02 kB / 1.136 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007422/0.9972, allocations: 250.5 kB / 1.136 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004982/0.9977, allocations: 113.2 kB / 1.136 GB, free: 15.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001809/0.9995, allocations: 0.848 MB / 1.137 GB, free: 14.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.9995, allocations: 0 / 1.137 GB, free: 14.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004614/1.004, allocations: 1.13 MB / 1.138 GB, free: 13.36 MB / 0.948 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.001142/1.005, allocations: 346.1 kB / 1.138 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009231/1.014, allocations: 4.027 MB / 1.142 GB, free: 9.637 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.014, allocations: 0 / 1.142 GB, free: 9.637 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.02, allocations: 2.361 MB / 1.144 GB, free: 7.586 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006781/1.027, allocations: 1.088 MB / 1.145 GB, free: 6.754 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.041, allocations: 6.417 MB / 1.152 GB, free: 444 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.043, allocations: 1.362 MB / 1.153 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005391/1.048, allocations: 1.306 MB / 1.154 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.05, allocations: 244.5 kB / 1.155 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of SimCode: time 1.323e-06/1.05, allocations: 0 / 1.155 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of Templates: time 0.08833/1.138, allocations: 48.41 MB / 1.202 GB, free: 14.21 MB / 1.01 GB " [Timeout remaining time 299] 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: 15.275578886969015]