Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.00102/0.00102, 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.001104/0.001104, 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.3 MB / 0.6653 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8344, allocations: 142.3 MB / 0.9535 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1941/1.029, allocations: 151.5 MB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009699/1.038, allocations: 5.273 MB / 1.107 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/1.04, allocations: 27.81 kB / 1.107 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/1.041, allocations: 481.8 kB / 1.107 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005514/1.047, allocations: 1.562 MB / 1.109 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/1.05, allocations: 0.901 MB / 1.11 GB, free: 0 / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002835/1.053, allocations: 1.269 MB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009901/1.054, allocations: 0.5233 MB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/1.055, allocations: 0.5372 MB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/1.056, allocations: 422.3 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/1.056, allocations: 32 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/1.058, allocations: 0.6045 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/1.058, allocations: 239.3 kB / 1.113 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/1.059, allocations: 193.3 kB / 1.113 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/1.06, allocations: 1.037 MB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.06, allocations: 0 / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/1.06, allocations: 0 / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.06, allocations: 0 / 1.114 GB, free: 11.14 MB / 0.8731 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.001843/1.062, allocations: 1.001 MB / 1.115 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.062, allocations: 12.03 kB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/1.064, allocations: 274.7 kB / 1.115 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.065, allocations: 0.6558 MB / 1.116 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.065, allocations: 41.31 kB / 1.116 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.065, allocations: 63.98 kB / 1.116 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.067, allocations: 0.5687 MB / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.067, allocations: 0 / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/1.067, allocations: 24 kB / 1.117 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/1.067, allocations: 21.31 kB / 1.117 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/1.068, allocations: 0.5009 MB / 1.117 GB, free: 7.883 MB / 0.8731 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.003792/1.072, allocations: 2.389 MB / 1.12 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/1.072, allocations: 418.8 kB / 1.12 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/1.072, allocations: 15.98 kB / 1.12 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/1.072, allocations: 46.55 kB / 1.12 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.856e-06/1.072, allocations: 0 / 1.12 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003387/1.076, allocations: 1.439 MB / 1.122 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.076, allocations: 59.84 kB / 1.122 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/1.077, allocations: 0.5343 MB / 1.122 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/1.077, allocations: 33.7 kB / 1.122 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/1.077, allocations: 332.6 kB / 1.122 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.077, allocations: 165.6 kB / 1.123 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/1.077, allocations: 8 kB / 1.123 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.077, allocations: 370.8 kB / 1.123 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/1.078, allocations: 181 kB / 1.123 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/1.078, allocations: 252.8 kB / 1.123 GB, free: 1.352 MB / 0.8731 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.002695/1.081, allocations: 1.049 MB / 1.124 GB, free: 276 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.081, allocations: 0 / 1.124 GB, free: 276 kB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008971/1.082, allocations: 0.5268 MB / 1.125 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.082, allocations: 5.094 kB / 1.125 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.082, allocations: 7.984 kB / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.082, allocations: 7.781 kB / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/1.082, allocations: 95.84 kB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.082, allocations: 4 kB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/1.083, allocations: 53.45 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.083, allocations: 16 kB / 1.125 GB, free: 15.55 MB / 0.8887 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.0004028/1.083, allocations: 241.7 kB / 1.125 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.083, allocations: 75.09 kB / 1.125 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/1.084, allocations: 78.39 kB / 1.125 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.084, allocations: 15.95 kB / 1.125 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.084, allocations: 3.938 kB / 1.125 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/1.084, allocations: 0.5106 MB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/1.087, allocations: 1.577 MB / 1.128 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.087, allocations: 4 kB / 1.128 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/1.087, allocations: 115.8 kB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.087, allocations: 4 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/1.087, allocations: 23.98 kB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.087, allocations: 11.95 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.087, allocations: 8.438 kB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.089, allocations: 1.128 MB / 1.129 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/1.089, allocations: 196.3 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/1.089, allocations: 16 kB / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/1.09, allocations: 48.58 kB / 1.129 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/1.09, allocations: 43.84 kB / 1.129 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/1.09, allocations: 23.98 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004586/1.09, allocations: 394.8 kB / 1.129 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.804e-06/1.09, allocations: 0 / 1.129 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007026/1.091, allocations: 207.9 kB / 1.13 GB, free: 10.48 MB / 0.8887 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.0004584/1.092, allocations: 182.8 kB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007943/1.092, allocations: 433.2 kB / 1.13 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.092, allocations: 0 / 1.13 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/1.093, allocations: 236.8 kB / 1.131 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.095, allocations: 470.7 kB / 1.131 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.097, allocations: 1.881 MB / 1.133 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/1.098, allocations: 0.997 MB / 1.134 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007514/1.099, allocations: 165.8 kB / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.099, allocations: 55.44 kB / 1.134 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of SimCode: time 6.62e-07/1.099, allocations: 0 / 1.134 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.02397/1.123, allocations: 13.61 MB / 1.147 GB, free: 8.559 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches