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.002104/0.002104, allocations: 92.7 kB / 19.44 MB, free: 324 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.00254/0.00254, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.887 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 2.074e-06/2.074e-06, allocations: 0 / 0.8777 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.236e-05, allocations: 3.031 kB / 0.8777 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2271/0.2271, allocations: 157.9 MB / 1.032 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.2469, allocations: 10.19 MB / 1.042 GB, free: 13.74 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.2507, allocations: 135 kB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.009803/0.2605, allocations: 1.903 MB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.2687, allocations: 1.731 MB / 1.046 GB, free: 9.949 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.2726, allocations: 0.822 MB / 1.046 GB, free: 9.125 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007848/0.2804, allocations: 3.247 MB / 1.05 GB, free: 5.871 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.2831, allocations: 0.9637 MB / 1.05 GB, free: 4.879 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005185/0.2883, allocations: 1.745 MB / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.2919, allocations: 0.9704 MB / 1.053 GB, free: 2.172 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005468/0.2925, allocations: 128 kB / 1.053 GB, free: 2.047 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.2956, allocations: 0.7869 MB / 1.054 GB, free: 1.258 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.2967, allocations: 0.494 MB / 1.054 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.2987, allocations: 0.6505 MB / 1.055 GB, free: 112 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4119/0.7106, allocations: 3.398 MB / 1.058 GB, free: 50.99 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7106, allocations: 0 / 1.058 GB, free: 50.99 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7106, allocations: 0 / 1.058 GB, free: 50.99 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.7106, allocations: 1.75 kB / 1.058 GB, free: 50.99 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.00295/0.7136, allocations: 2.794 MB / 1.061 GB, free: 49.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.7136, allocations: 8.75 kB / 1.061 GB, free: 49.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.715, allocations: 473.6 kB / 1.062 GB, free: 49.44 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.7175, allocations: 2.079 MB / 1.064 GB, free: 48.89 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.7176, allocations: 58.12 kB / 1.064 GB, free: 48.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7177, allocations: 74.38 kB / 1.064 GB, free: 48.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.719, allocations: 1.042 MB / 1.065 GB, free: 48.61 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.719, allocations: 4.469 kB / 1.065 GB, free: 48.61 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.7191, allocations: 34.97 kB / 1.065 GB, free: 48.61 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.7191, allocations: 24.84 kB / 1.065 GB, free: 48.61 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.72, allocations: 0.6921 MB / 1.066 GB, free: 48.61 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.004088/0.7241, allocations: 3.513 MB / 1.069 GB, free: 47.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.7245, allocations: 301.8 kB / 1.069 GB, free: 47.29 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.7247, allocations: 170.5 kB / 1.069 GB, free: 47.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.7248, allocations: 21.31 kB / 1.069 GB, free: 47.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.7248, allocations: 40.28 kB / 1.069 GB, free: 47.24 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.7249, allocations: 3.312 kB / 1.069 GB, free: 47.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.002439/0.7273, allocations: 1.574 MB / 1.071 GB, free: 46.63 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.7273, allocations: 58.72 kB / 1.071 GB, free: 46.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.7301, allocations: 2.747 MB / 1.074 GB, free: 46.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.7301, allocations: 36.48 kB / 1.074 GB, free: 46.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/0.7308, allocations: 1.056 MB / 1.075 GB, free: 46.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.7309, allocations: 121.8 kB / 1.075 GB, free: 45.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.731, allocations: 113 kB / 1.075 GB, free: 45.94 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.7311, allocations: 328.9 kB / 1.075 GB, free: 45.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.7313, allocations: 162.8 kB / 1.076 GB, free: 45.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.7316, allocations: 449.1 kB / 1.076 GB, free: 45.31 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.001991/0.7336, allocations: 1.003 MB / 1.077 GB, free: 45.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7336, allocations: 3.281 kB / 1.077 GB, free: 45.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001329/0.7349, allocations: 0.8115 MB / 1.078 GB, free: 44.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7349, allocations: 11.59 kB / 1.078 GB, free: 44.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7349, allocations: 7.531 kB / 1.078 GB, free: 44.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.7352, allocations: 62.97 kB / 1.078 GB, free: 44.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.7355, allocations: 97.62 kB / 1.078 GB, free: 44.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.7368, allocations: 1.739 MB / 1.08 GB, free: 43.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/0.7376, allocations: 22.19 kB / 1.08 GB, free: 43.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.7376, allocations: 27.84 kB / 1.08 GB, free: 43.58 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.000923/0.7386, allocations: 0.7856 MB / 1.08 GB, free: 43.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.7388, allocations: 244.5 kB / 1.081 GB, free: 43.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.7391, allocations: 237.3 kB / 1.081 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7392, allocations: 11.95 kB / 1.081 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.7392, allocations: 0 / 1.081 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005864/0.7397, allocations: 0.6016 MB / 1.081 GB, free: 42.95 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.7422, allocations: 1.79 MB / 1.083 GB, free: 42.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7422, allocations: 11.09 kB / 1.083 GB, free: 42.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.7425, allocations: 63.36 kB / 1.083 GB, free: 42.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/0.7427, allocations: 57.39 kB / 1.083 GB, free: 42.56 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.7427, allocations: 9.719 kB / 1.083 GB, free: 42.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.7437, allocations: 1.741 MB / 1.085 GB, free: 41.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7437, allocations: 2.844 kB / 1.085 GB, free: 41.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009644/0.7447, allocations: 0.9275 MB / 1.086 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.7453, allocations: 334.4 kB / 1.086 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.7454, allocations: 14.08 kB / 1.086 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.746, allocations: 23.91 kB / 1.086 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.7461, allocations: 29.73 kB / 1.086 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.7461, allocations: 15.06 kB / 1.086 GB, free: 40.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002208/0.7483, allocations: 1.936 MB / 1.088 GB, free: 40.56 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7483, allocations: 0.875 kB / 1.088 GB, free: 40.56 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001247/0.7496, allocations: 296.9 kB / 1.089 GB, free: 40.56 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.0002984/0.7499, allocations: 162.8 kB / 1.089 GB, free: 40.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.7507, allocations: 0.5145 MB / 1.089 GB, free: 40.36 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7507, allocations: 1.062 kB / 1.089 GB, free: 40.36 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.7511, allocations: 303.6 kB / 1.089 GB, free: 40.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.7544, allocations: 0.8607 MB / 1.09 GB, free: 40.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.76, allocations: 4.139 MB / 1.094 GB, free: 38.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.7613, allocations: 1.382 MB / 1.096 GB, free: 38.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009941/0.7623, allocations: 311.1 kB / 1.096 GB, free: 38.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.7625, allocations: 95.75 kB / 1.096 GB, free: 38.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.7625, allocations: 1.281 kB / 1.096 GB, free: 38.41 MB / 1.01 GB Notification: Performance of Templates: time 0.04673/0.8092, allocations: 28.87 MB / 1.124 GB, free: 35.5 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800] 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.442174941068515]