Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.0018/0.0018, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001944/0.001944, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 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.28/3.28, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.547e-05, allocations: 5.281 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6784/0.6784, allocations: 199.4 MB / 1.072 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009278/0.6877, allocations: 7.715 MB / 1.08 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.6885, allocations: 49.88 kB / 1.08 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.69, allocations: 0.663 MB / 1.08 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.6949, allocations: 2.637 MB / 1.083 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.6973, allocations: 1.288 MB / 1.084 GB, free: 47.28 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.6999, allocations: 3.049 MB / 1.087 GB, free: 46.88 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.7007, allocations: 0.7401 MB / 1.088 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7024, allocations: 1.56 MB / 1.089 GB, free: 46.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.7041, allocations: 0.9336 MB / 1.09 GB, free: 46.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.7043, allocations: 114.5 kB / 1.09 GB, free: 46.57 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.7071, allocations: 1.808 MB / 1.092 GB, free: 46.37 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.7074, allocations: 0.4965 MB / 1.093 GB, free: 46.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.7079, allocations: 492.3 kB / 1.093 GB, free: 46.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.7105, allocations: 2.487 MB / 1.096 GB, free: 46.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7105, allocations: 2.219 kB / 1.096 GB, free: 46.03 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7105, allocations: 0 / 1.096 GB, free: 46.03 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.7105, allocations: 0 / 1.096 GB, free: 46.03 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002954/0.7135, allocations: 1.767 MB / 1.097 GB, free: 45.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7135, allocations: 9.344 kB / 1.097 GB, free: 45.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.717, allocations: 0.6253 MB / 1.098 GB, free: 45.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.7184, allocations: 0.8261 MB / 1.099 GB, free: 44.76 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.7185, allocations: 63.84 kB / 1.099 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.7186, allocations: 86.53 kB / 1.099 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.7204, allocations: 1.204 MB / 1.1 GB, free: 44.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.7204, allocations: 1.969 kB / 1.1 GB, free: 44.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/0.7205, allocations: 38.66 kB / 1.1 GB, free: 44.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.7206, allocations: 42.05 kB / 1.1 GB, free: 44.34 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.7223, allocations: 0.744 MB / 1.101 GB, free: 44.33 MB / 1.01 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.004403/0.7267, allocations: 3.519 MB / 1.104 GB, free: 42.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.7281, allocations: 0.6579 MB / 1.105 GB, free: 42.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/0.7291, allocations: 411.4 kB / 1.105 GB, free: 42.72 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.7291, allocations: 15.94 kB / 1.105 GB, free: 42.72 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.7292, allocations: 44.98 kB / 1.105 GB, free: 42.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/0.7292, allocations: 0.875 kB / 1.105 GB, free: 42.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.002362/0.7315, allocations: 0.9384 MB / 1.106 GB, free: 42.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.7315, allocations: 61.14 kB / 1.106 GB, free: 42.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.7323, allocations: 0.7443 MB / 1.107 GB, free: 42.33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.7324, allocations: 39.33 kB / 1.107 GB, free: 42.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.7327, allocations: 0.5146 MB / 1.108 GB, free: 42.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.7329, allocations: 278.9 kB / 1.108 GB, free: 41.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.7332, allocations: 145 kB / 1.108 GB, free: 41.85 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.7334, allocations: 0.6136 MB / 1.109 GB, free: 41.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.734, allocations: 241.3 kB / 1.109 GB, free: 41.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.7347, allocations: 372 kB / 1.109 GB, free: 41.26 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.736, allocations: 0.6375 MB / 1.11 GB, free: 41.17 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.736, allocations: 0 / 1.11 GB, free: 41.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001628/0.7376, allocations: 0.754 MB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7377, allocations: 6.469 kB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7377, allocations: 2.062 kB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7377, allocations: 5.406 kB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.7385, allocations: 158.8 kB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7385, allocations: 6.609 kB / 1.111 GB, free: 41.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/0.7394, allocations: 64.39 kB / 1.111 GB, free: 41.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.7395, allocations: 30.42 kB / 1.111 GB, free: 41.05 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003047/0.7398, allocations: 268.1 kB / 1.111 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.74, allocations: 107.2 kB / 1.111 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.7402, allocations: 103.1 kB / 1.111 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.7402, allocations: 7.812 kB / 1.111 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.7403, allocations: 0 / 1.111 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.7416, allocations: 0.7669 MB / 1.112 GB, free: 40.56 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.7447, allocations: 1.721 MB / 1.114 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.7447, allocations: 2.219 kB / 1.114 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7457, allocations: 180.6 kB / 1.114 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.7457, allocations: 4.578 kB / 1.114 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.7458, allocations: 23.56 kB / 1.114 GB, free: 40.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.7458, allocations: 6.844 kB / 1.114 GB, free: 40.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7458, allocations: 4.344 kB / 1.114 GB, free: 40.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.7481, allocations: 1.212 MB / 1.115 GB, free: 39.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.7485, allocations: 173.4 kB / 1.115 GB, free: 39.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7487, allocations: 20.11 kB / 1.115 GB, free: 39.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.7495, allocations: 39.61 kB / 1.115 GB, free: 39.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7496, allocations: 45.48 kB / 1.115 GB, free: 39.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.7497, allocations: 23.61 kB / 1.115 GB, free: 39.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005313/0.7502, allocations: 482.5 kB / 1.116 GB, free: 39.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7502, allocations: 0.875 kB / 1.116 GB, free: 39.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000865/0.7511, allocations: 345.4 kB / 1.116 GB, free: 39.74 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.0002317/0.7513, allocations: 170.3 kB / 1.116 GB, free: 39.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.7528, allocations: 0.6392 MB / 1.117 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7528, allocations: 1.438 kB / 1.117 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.7536, allocations: 368 kB / 1.117 GB, free: 39.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.756, allocations: 0.5355 MB / 1.118 GB, free: 39.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.7593, allocations: 1.963 MB / 1.12 GB, free: 38.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.7598, allocations: 487.9 kB / 1.12 GB, free: 38.63 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007312/0.7605, allocations: 196.5 kB / 1.12 GB, free: 38.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.7608, allocations: 80.09 kB / 1.121 GB, free: 38.56 MB / 1.01 GB Notification: Performance of SimCode: time 4.4e-07/0.7608, allocations: 0 / 1.121 GB, free: 38.56 MB / 1.01 GB Notification: Performance of Templates: time 0.02983/0.7906, allocations: 19.51 MB / 1.14 GB, free: 36.41 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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: 9.546595901018009]