Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001603/0.001603, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9534/0.9534, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.051e-05, allocations: 6.25 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.135/0.135, allocations: 149.1 MB / 0.9057 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005739/0.1408, allocations: 3.551 MB / 0.9091 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/0.1416, allocations: 47.62 kB / 0.9092 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.1423, allocations: 238.2 kB / 0.9094 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.1442, allocations: 1.006 MB / 0.9104 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1454, allocations: 0.7093 MB / 0.9111 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.1477, allocations: 2.235 MB / 0.9133 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008425/0.1486, allocations: 0.5675 MB / 0.9138 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.1507, allocations: 1.277 MB / 0.9151 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007303/0.1514, allocations: 0.5724 MB / 0.9156 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1515, allocations: 76 kB / 0.9157 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.1522, allocations: 367.1 kB / 0.916 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.1525, allocations: 347 kB / 0.9164 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.1528, allocations: 339.2 kB / 0.9167 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1539, allocations: 0.8721 MB / 0.9175 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1539, allocations: 0 / 0.9175 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1539, allocations: 0 / 0.9175 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.1539, allocations: 4 kB / 0.9175 GB, free: 4.953 MB / 0.8698 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.001139/0.155, allocations: 1.009 MB / 0.9185 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.155, allocations: 12.03 kB / 0.9185 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.156, allocations: 320.2 kB / 0.9188 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.1567, allocations: 0.5351 MB / 0.9194 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.1568, allocations: 45.44 kB / 0.9194 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.1568, allocations: 63.95 kB / 0.9195 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.1574, allocations: 0.5542 MB / 0.92 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1574, allocations: 4 kB / 0.92 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1574, allocations: 24 kB / 0.92 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.1574, allocations: 25.31 kB / 0.9201 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.1577, allocations: 158.3 kB / 0.9202 GB, free: 2.102 MB / 0.8698 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.001671/0.1593, allocations: 1.155 MB / 0.9213 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1597, allocations: 271.9 kB / 0.9216 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.1598, allocations: 83.58 kB / 0.9217 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.1598, allocations: 27.98 kB / 0.9217 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1599, allocations: 38.56 kB / 0.9217 GB, free: 488 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.986e-06/0.1599, allocations: 0 / 0.9217 GB, free: 488 kB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001309/0.1612, allocations: 0.7212 MB / 0.9225 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.1612, allocations: 63.41 kB / 0.9225 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1615, allocations: 407.2 kB / 0.9229 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1615, allocations: 41.69 kB / 0.9229 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1616, allocations: 274.2 kB / 0.9232 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1617, allocations: 166.5 kB / 0.9234 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.1618, allocations: 90.09 kB / 0.9234 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.1621, allocations: 370.6 kB / 0.9238 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.1621, allocations: 51.8 kB / 0.9239 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1623, allocations: 165.9 kB / 0.924 GB, free: 14.05 MB / 0.8855 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.0004885/0.1628, allocations: 419.4 kB / 0.9244 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1628, allocations: 0 / 0.9244 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002567/0.163, allocations: 234.4 kB / 0.9246 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.163, allocations: 12.16 kB / 0.9246 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.163, allocations: 0 / 0.9246 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1631, allocations: 4 kB / 0.9246 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1633, allocations: 87.84 kB / 0.9247 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1633, allocations: 4 kB / 0.9247 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1635, allocations: 15.98 kB / 0.9248 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1635, allocations: 12 kB / 0.9248 GB, free: 13.26 MB / 0.8855 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 (54): * Single equations (assignments): 54 * 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.000145/0.1637, allocations: 148.5 kB / 0.9249 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.1637, allocations: 47.95 kB / 0.9249 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/0.1638, allocations: 77.5 kB / 0.925 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1638, allocations: 4 kB / 0.925 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1638, allocations: 0 / 0.925 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002027/0.164, allocations: 252.5 kB / 0.9253 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.165, allocations: 1.041 MB / 0.9263 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.165, allocations: 4 kB / 0.9263 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.1653, allocations: 107.8 kB / 0.9264 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1653, allocations: 11.98 kB / 0.9264 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1653, allocations: 16 kB / 0.9264 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1653, allocations: 8.594 kB / 0.9264 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1653, allocations: 11.94 kB / 0.9264 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1658, allocations: 0.567 MB / 0.927 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1659, allocations: 91.48 kB / 0.9271 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.1661, allocations: 23.98 kB / 0.9271 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1663, allocations: 20 kB / 0.9271 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1664, allocations: 47.84 kB / 0.9272 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.1664, allocations: 23.98 kB / 0.9272 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001289/0.1665, allocations: 184.3 kB / 0.9274 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1665, allocations: 0 / 0.9274 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000439/0.167, allocations: 200 kB / 0.9276 GB, free: 10.16 MB / 0.8855 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 (47): * Single equations (assignments): 47 * 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.0002149/0.1672, allocations: 136.1 kB / 0.9277 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.1674, allocations: 220 kB / 0.9279 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.1674, allocations: 4 kB / 0.9279 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1676, allocations: 126.8 kB / 0.928 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.1685, allocations: 453.8 kB / 0.9285 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1701, allocations: 1.276 MB / 0.9297 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1702, allocations: 183 kB / 0.9299 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.1706, allocations: 113.2 kB / 0.93 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.1711, allocations: 305.1 kB / 0.9303 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/0.1711, allocations: 0 / 0.9303 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of Templates: time 0.01793/0.1891, allocations: 15.52 MB / 0.9454 GB, free: 8.129 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.417823751922697]