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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.493/2.493, allocations: 436.5 MB / 0.7104 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 8 kB / 0.8708 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6303, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2107/0.841, allocations: 151.5 MB / 1.169 GB, free: 9.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.8549, allocations: 5.288 MB / 1.174 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.8562, allocations: 27.75 kB / 1.174 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.8584, allocations: 485.8 kB / 1.174 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.8655, allocations: 1.557 MB / 1.176 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.8695, allocations: 0.9088 MB / 1.177 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003284/0.8728, allocations: 1.266 MB / 1.178 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.874, allocations: 0.5116 MB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.8754, allocations: 0.5372 MB / 1.179 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008784/0.8763, allocations: 422.3 kB / 1.18 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.8764, allocations: 28 kB / 1.18 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.8788, allocations: 0.6045 MB / 1.18 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.8793, allocations: 243.3 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.8796, allocations: 193.3 kB / 1.181 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.8816, allocations: 1.04 MB / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8817, allocations: 0 / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8817, allocations: 0 / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.8817, allocations: 0 / 1.182 GB, free: 12.12 MB / 0.9356 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.002366/0.8841, allocations: 1.005 MB / 1.183 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8841, allocations: 8.031 kB / 1.183 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/0.8873, allocations: 278.7 kB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.8891, allocations: 0.648 MB / 1.183 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.8892, allocations: 45.31 kB / 1.183 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.8894, allocations: 60 kB / 1.184 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.8911, allocations: 0.5765 MB / 1.184 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.8911, allocations: 0 / 1.184 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.8912, allocations: 20 kB / 1.184 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.8913, allocations: 21.31 kB / 1.184 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.8927, allocations: 0.5009 MB / 1.185 GB, free: 8.867 MB / 0.9356 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.005102/0.8978, allocations: 2.388 MB / 1.187 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.8991, allocations: 438.8 kB / 1.187 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.8992, allocations: 4 kB / 1.187 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.8992, allocations: 39.28 kB / 1.187 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 3.707e-06/0.8993, allocations: 0 / 1.187 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.004558/0.9038, allocations: 1.435 MB / 1.189 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.9039, allocations: 63.83 kB / 1.189 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/0.9048, allocations: 0.5304 MB / 1.189 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.9049, allocations: 41.7 kB / 1.189 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.9053, allocations: 328.6 kB / 1.19 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.9055, allocations: 165.6 kB / 1.19 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.9055, allocations: 8 kB / 1.19 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.9057, allocations: 370.8 kB / 1.19 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.9062, allocations: 177 kB / 1.19 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.9068, allocations: 256.8 kB / 1.191 GB, free: 2.336 MB / 0.9356 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.911, allocations: 1.046 MB / 1.192 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9111, allocations: 3.938 kB / 1.192 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001452/0.9125, allocations: 0.5303 MB / 1.192 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.9126, allocations: 4 kB / 1.192 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.9126, allocations: 4 kB / 1.192 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.9126, allocations: 4.156 kB / 1.192 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.9133, allocations: 99.84 kB / 1.192 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.9134, allocations: 0 / 1.192 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.9146, allocations: 47.81 kB / 1.192 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.9146, allocations: 16 kB / 1.192 GB, free: 0.543 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005541/0.9152, allocations: 245.7 kB / 1.193 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.9154, allocations: 67.25 kB / 1.193 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.9156, allocations: 78.45 kB / 1.193 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.9156, allocations: 8 kB / 1.193 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.9157, allocations: 3.984 kB / 1.193 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.9168, allocations: 0.5105 MB / 1.193 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.9206, allocations: 1.589 MB / 1.195 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.9206, allocations: 4 kB / 1.195 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.9215, allocations: 111.8 kB / 1.195 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.9215, allocations: 8 kB / 1.195 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.9216, allocations: 19.98 kB / 1.195 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.9216, allocations: 12 kB / 1.195 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.9216, allocations: 7.938 kB / 1.195 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.9237, allocations: 1.128 MB / 1.196 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/0.9242, allocations: 196.4 kB / 1.196 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.9244, allocations: 20 kB / 1.196 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.9254, allocations: 36.59 kB / 1.196 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9255, allocations: 51.84 kB / 1.196 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.9256, allocations: 23.98 kB / 1.196 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008162/0.9264, allocations: 394.8 kB / 1.197 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9265, allocations: 0 / 1.197 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001223/0.9277, allocations: 192 kB / 1.197 GB, free: 11.49 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005672/0.9283, allocations: 194.9 kB / 1.197 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.9295, allocations: 441.2 kB / 1.198 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9295, allocations: 0 / 1.198 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.9301, allocations: 232.8 kB / 1.198 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.9336, allocations: 471.9 kB / 1.198 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.9375, allocations: 1.889 MB / 1.2 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.9383, allocations: 0.9892 MB / 1.201 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001102/0.9394, allocations: 169.8 kB / 1.201 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.9396, allocations: 59.44 kB / 1.201 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/0.9397, allocations: 0 / 1.201 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of Templates: time 0.03552/0.9752, allocations: 13.61 MB / 1.215 GB, free: 9.535 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches