Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001914/0.001914, 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.00215/0.00215, 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.419/3.419, allocations: 429.5 MB / 0.6729 GB, free: 4 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.695e-05, allocations: 7.594 kB / 0.8775 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2458/0.2458, allocations: 175.6 MB / 1.049 GB, free: 6.363 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.443/0.6888, allocations: 10.99 MB / 1.06 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.6912, allocations: 128.6 kB / 1.06 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.005126/0.6964, allocations: 1.908 MB / 1.062 GB, free: 47.37 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.7005, allocations: 1.728 MB / 1.063 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.7024, allocations: 0.8091 MB / 1.064 GB, free: 47.3 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.7057, allocations: 3.269 MB / 1.067 GB, free: 46.92 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.7067, allocations: 0.96 MB / 1.068 GB, free: 46.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.709, allocations: 1.745 MB / 1.07 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.7107, allocations: 0.9901 MB / 1.071 GB, free: 46.48 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.7109, allocations: 127.4 kB / 1.071 GB, free: 46.48 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.7124, allocations: 0.7875 MB / 1.072 GB, free: 46.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.7128, allocations: 0.4991 MB / 1.072 GB, free: 46.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007797/0.7136, allocations: 0.6464 MB / 1.073 GB, free: 46.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.7169, allocations: 3.412 MB / 1.076 GB, free: 45.8 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7169, allocations: 0.9688 kB / 1.076 GB, free: 45.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7169, allocations: 0 / 1.076 GB, free: 45.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.021e-05/0.717, allocations: 2.906 kB / 1.076 GB, free: 45.8 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003958/0.7209, allocations: 3.173 MB / 1.079 GB, free: 44.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.721, allocations: 8.406 kB / 1.079 GB, free: 44.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.7224, allocations: 476.6 kB / 1.08 GB, free: 44.11 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.7254, allocations: 1.943 MB / 1.082 GB, free: 43.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.7255, allocations: 59.19 kB / 1.082 GB, free: 43.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.7256, allocations: 74.31 kB / 1.082 GB, free: 43.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.7268, allocations: 1.022 MB / 1.083 GB, free: 43.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.7269, allocations: 0 / 1.083 GB, free: 43.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.7269, allocations: 32.31 kB / 1.083 GB, free: 43.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.727, allocations: 29.28 kB / 1.083 GB, free: 43.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.7278, allocations: 0.5496 MB / 1.084 GB, free: 43.21 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.005602/0.7334, allocations: 4.841 MB / 1.088 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.7338, allocations: 255.6 kB / 1.088 GB, free: 41.23 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.734, allocations: 144.8 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.7342, allocations: 24.33 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.7342, allocations: 41.98 kB / 1.089 GB, free: 41.17 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.7342, allocations: 0 / 1.089 GB, free: 41.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.002684/0.7369, allocations: 1.427 MB / 1.09 GB, free: 40.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.7369, allocations: 60.09 kB / 1.09 GB, free: 40.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.7411, allocations: 3.373 MB / 1.093 GB, free: 40.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.7412, allocations: 32.02 kB / 1.093 GB, free: 40.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.7422, allocations: 1.362 MB / 1.095 GB, free: 39.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.7424, allocations: 139 kB / 1.095 GB, free: 39.76 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.7425, allocations: 133.4 kB / 1.095 GB, free: 39.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.7426, allocations: 0.5162 MB / 1.096 GB, free: 39.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.7428, allocations: 123.3 kB / 1.096 GB, free: 39.24 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.7432, allocations: 0.5041 MB / 1.096 GB, free: 38.8 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.7451, allocations: 0.9438 MB / 1.097 GB, free: 38.46 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7451, allocations: 1.125 kB / 1.097 GB, free: 38.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001179/0.7463, allocations: 0.7342 MB / 1.098 GB, free: 38.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7463, allocations: 11.66 kB / 1.098 GB, free: 38.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7463, allocations: 6.531 kB / 1.098 GB, free: 38.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.7466, allocations: 65.64 kB / 1.098 GB, free: 38.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.7469, allocations: 97.27 kB / 1.098 GB, free: 38.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.7482, allocations: 2.338 MB / 1.1 GB, free: 36.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/0.7491, allocations: 26.8 kB / 1.1 GB, free: 36.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.7491, allocations: 26.11 kB / 1.1 GB, free: 36.32 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008592/0.75, allocations: 0.7233 MB / 1.101 GB, free: 36.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.7502, allocations: 238.5 kB / 1.101 GB, free: 36.03 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.7505, allocations: 203.8 kB / 1.101 GB, free: 35.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7505, allocations: 2.312 kB / 1.101 GB, free: 35.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.7505, allocations: 1.938 kB / 1.101 GB, free: 35.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005396/0.7511, allocations: 0.5326 MB / 1.102 GB, free: 35.63 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.7546, allocations: 2.4 MB / 1.104 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7546, allocations: 3.5 kB / 1.104 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.7549, allocations: 67.55 kB / 1.104 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.7551, allocations: 66.2 kB / 1.104 GB, free: 35.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.7551, allocations: 10.06 kB / 1.104 GB, free: 35.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.7564, allocations: 2.327 MB / 1.107 GB, free: 33.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.7564, allocations: 5 kB / 1.107 GB, free: 33.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.7575, allocations: 0.931 MB / 1.108 GB, free: 32.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/0.7583, allocations: 304.3 kB / 1.108 GB, free: 32.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.7585, allocations: 12.17 kB / 1.108 GB, free: 32.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.759, allocations: 18.22 kB / 1.108 GB, free: 32.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.7591, allocations: 32.67 kB / 1.108 GB, free: 32.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.7591, allocations: 15.89 kB / 1.108 GB, free: 32.53 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003138/0.7623, allocations: 2.078 MB / 1.11 GB, free: 32.34 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7623, allocations: 1 kB / 1.11 GB, free: 32.34 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00114/0.7634, allocations: 302.2 kB / 1.11 GB, free: 32.34 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.7637, allocations: 170.7 kB / 1.11 GB, free: 32.24 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008617/0.7646, allocations: 0.543 MB / 1.111 GB, free: 32.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7646, allocations: 2.344 kB / 1.111 GB, free: 32.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.765, allocations: 343.9 kB / 1.111 GB, free: 31.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.7685, allocations: 0.8659 MB / 1.112 GB, free: 31.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.7741, allocations: 3.925 MB / 1.116 GB, free: 30.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.7757, allocations: 1.268 MB / 1.117 GB, free: 29.99 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00109/0.7767, allocations: 248.2 kB / 1.117 GB, free: 29.95 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.777, allocations: 100.6 kB / 1.118 GB, free: 29.94 MB / 1.01 GB Notification: Performance of SimCode: time 1.734e-06/0.777, allocations: 0 / 1.118 GB, free: 29.94 MB / 1.01 GB Notification: Performance of Templates: time 0.04635/0.8233, allocations: 28.76 MB / 1.146 GB, free: 26.93 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.710629525012337]