Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001031/0.001031, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001701/0.001701, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9855/0.9855, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.074/2.074, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.941e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1462/0.1462, allocations: 178.6 MB / 1.053 GB, free: 3.402 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4513/0.5976, allocations: 5.45 MB / 1.058 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.5987, allocations: 49.97 kB / 1.058 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5998, allocations: 421 kB / 1.058 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.6033, allocations: 1.802 MB / 1.06 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.6047, allocations: 0.8246 MB / 1.061 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.6071, allocations: 2.266 MB / 1.063 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.6078, allocations: 0.5327 MB / 1.064 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.6094, allocations: 1.244 MB / 1.065 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.6109, allocations: 0.6858 MB / 1.066 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.611, allocations: 74.06 kB / 1.066 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.6129, allocations: 1.171 MB / 1.067 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.6132, allocations: 350 kB / 1.067 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.6136, allocations: 335.6 kB / 1.067 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.6155, allocations: 1.281 MB / 1.069 GB, free: 47.3 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6155, allocations: 0 / 1.069 GB, free: 47.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6155, allocations: 0.9688 kB / 1.069 GB, free: 47.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.6155, allocations: 0 / 1.069 GB, free: 47.3 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001311/0.6168, allocations: 1.229 MB / 1.07 GB, free: 46.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6169, allocations: 9.031 kB / 1.07 GB, free: 46.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.6181, allocations: 348.9 kB / 1.07 GB, free: 46.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.6189, allocations: 0.652 MB / 1.071 GB, free: 46.29 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.6189, allocations: 48.62 kB / 1.071 GB, free: 46.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.619, allocations: 75.72 kB / 1.071 GB, free: 46.28 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.6196, allocations: 0.5671 MB / 1.072 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6196, allocations: 0 / 1.072 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.6196, allocations: 24.22 kB / 1.072 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.6196, allocations: 27.72 kB / 1.072 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.62, allocations: 234.4 kB / 1.072 GB, free: 45.95 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.001712/0.6217, allocations: 1.45 MB / 1.073 GB, free: 45.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.6222, allocations: 270.5 kB / 1.074 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.6223, allocations: 105.4 kB / 1.074 GB, free: 45.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.6224, allocations: 28.72 kB / 1.074 GB, free: 45.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.6224, allocations: 42.42 kB / 1.074 GB, free: 45.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.444e-06/0.6224, allocations: 0.9688 kB / 1.074 GB, free: 45.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=48): time 0.001546/0.624, allocations: 0.9359 MB / 1.075 GB, free: 45.15 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.624, allocations: 61.22 kB / 1.075 GB, free: 45.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.6243, allocations: 491.7 kB / 1.075 GB, free: 44.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.6244, allocations: 36.05 kB / 1.075 GB, free: 44.87 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6245, allocations: 391.8 kB / 1.076 GB, free: 44.66 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.6246, allocations: 182.9 kB / 1.076 GB, free: 44.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.6247, allocations: 93.97 kB / 1.076 GB, free: 44.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.6248, allocations: 0.5395 MB / 1.076 GB, free: 44.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.6249, allocations: 72.22 kB / 1.076 GB, free: 44.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.625, allocations: 276.8 kB / 1.077 GB, free: 43.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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.6257, allocations: 0.5227 MB / 1.077 GB, free: 43.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6257, allocations: 4.906 kB / 1.077 GB, free: 43.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003874/0.6261, allocations: 346.2 kB / 1.077 GB, free: 43.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6261, allocations: 8.812 kB / 1.078 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6261, allocations: 0 / 1.078 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.6262, allocations: 9.844 kB / 1.078 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.6264, allocations: 93.25 kB / 1.078 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6264, allocations: 6.781 kB / 1.078 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.6267, allocations: 27.25 kB / 1.078 GB, free: 43.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.6267, allocations: 17.78 kB / 1.078 GB, free: 43.62 MB / 1.01 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0001428/0.6268, allocations: 187.1 kB / 1.078 GB, free: 43.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.6269, allocations: 86.08 kB / 1.078 GB, free: 43.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.627, allocations: 69.45 kB / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.627, allocations: 6.438 kB / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.627, allocations: 0 / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002824/0.6273, allocations: 343.6 kB / 1.078 GB, free: 43.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.6284, allocations: 1.223 MB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6284, allocations: 6.281 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.6287, allocations: 112.6 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6287, allocations: 6.594 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.6288, allocations: 21.34 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.6288, allocations: 9.75 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6288, allocations: 9.719 kB / 1.08 GB, free: 42.71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.6293, allocations: 0.7163 MB / 1.08 GB, free: 42.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.6295, allocations: 112.4 kB / 1.08 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.6295, allocations: 16.72 kB / 1.08 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.6298, allocations: 18.95 kB / 1.081 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.6298, allocations: 45.61 kB / 1.081 GB, free: 42.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.6298, allocations: 34.5 kB / 1.081 GB, free: 42.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001899/0.63, allocations: 324 kB / 1.081 GB, free: 42.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.63, allocations: 3.094 kB / 1.081 GB, free: 42.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004725/0.6305, allocations: 204.1 kB / 1.081 GB, free: 42.07 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.0002488/0.6308, allocations: 185 kB / 1.081 GB, free: 41.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.6311, allocations: 260.7 kB / 1.082 GB, free: 41.96 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6311, allocations: 0.9688 kB / 1.082 GB, free: 41.96 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.6313, allocations: 153.3 kB / 1.082 GB, free: 41.94 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.6325, allocations: 444.5 kB / 1.082 GB, free: 41.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.6342, allocations: 1.4 MB / 1.083 GB, free: 41.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.6343, allocations: 188.6 kB / 1.084 GB, free: 41.03 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003965/0.6347, allocations: 134.8 kB / 1.084 GB, free: 41.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6348, allocations: 55.75 kB / 1.084 GB, free: 41 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/0.6348, allocations: 1.062 kB / 1.084 GB, free: 41 MB / 1.01 GB Notification: Performance of Templates: time 0.01935/0.6542, allocations: 14.63 MB / 1.098 GB, free: 39.57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.231770694022998]