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.001139/0.001139, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001114/0.001114, allocations: 195.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 66.44 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3144, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.925/1.239, allocations: 181.9 MB / 1.129 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01055/1.25, allocations: 5.356 MB / 1.134 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/1.252, allocations: 36.22 kB / 1.134 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/1.254, allocations: 442.3 kB / 1.134 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006349/1.26, allocations: 1.676 MB / 1.136 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/1.263, allocations: 0.7991 MB / 1.137 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004101/1.267, allocations: 2.193 MB / 1.139 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/1.268, allocations: 0.6938 MB / 1.14 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/1.27, allocations: 0.7473 MB / 1.14 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/1.272, allocations: 0.6844 MB / 1.141 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/1.272, allocations: 75.47 kB / 1.141 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/1.276, allocations: 1.393 MB / 1.142 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004306/1.276, allocations: 318.5 kB / 1.143 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006802/1.277, allocations: 474.7 kB / 1.143 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/1.28, allocations: 1.664 MB / 1.145 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.281, allocations: 1.438 kB / 1.145 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.281, allocations: 0 / 1.145 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.672e-05/1.281, allocations: 4 kB / 1.145 GB, free: 3.711 MB / 0.8575 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.00249/1.283, allocations: 1.176 MB / 1.146 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.283, allocations: 9.188 kB / 1.146 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.285, allocations: 274 kB / 1.146 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.286, allocations: 0.7102 MB / 1.147 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/1.287, allocations: 48.78 kB / 1.147 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.287, allocations: 58.91 kB / 1.147 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.288, allocations: 0.588 MB / 1.148 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/1.288, allocations: 1.25 kB / 1.148 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/1.288, allocations: 25.41 kB / 1.148 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/1.288, allocations: 21.75 kB / 1.148 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/1.289, allocations: 0.4985 MB / 1.148 GB, free: 18.59 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.003588/1.292, allocations: 2.376 MB / 1.151 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/1.293, allocations: 433.9 kB / 1.151 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/1.294, allocations: 217.8 kB / 1.151 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.294, allocations: 100.9 kB / 1.151 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.294, allocations: 38.09 kB / 1.151 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/1.294, allocations: 0 / 1.151 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004056/1.298, allocations: 1.445 MB / 1.153 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/1.298, allocations: 62.41 kB / 1.153 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/1.299, allocations: 0.5334 MB / 1.153 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/1.299, allocations: 36.89 kB / 1.153 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/1.299, allocations: 332.8 kB / 1.154 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/1.3, allocations: 167.9 kB / 1.154 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.3, allocations: 92.09 kB / 1.154 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002352/1.3, allocations: 374.3 kB / 1.154 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/1.3, allocations: 177.6 kB / 1.154 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/1.301, allocations: 257.8 kB / 1.155 GB, free: 14.68 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: 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.00383/1.305, allocations: 1.445 MB / 1.156 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.305, allocations: 1.219 kB / 1.156 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001437/1.306, allocations: 0.5244 MB / 1.157 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/1.306, allocations: 8.844 kB / 1.157 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.306, allocations: 1 kB / 1.157 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/1.306, allocations: 7.531 kB / 1.157 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.307, allocations: 89.17 kB / 1.157 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.307, allocations: 7.219 kB / 1.157 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/1.308, allocations: 17.09 kB / 1.157 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/1.308, allocations: 18.27 kB / 1.157 GB, free: 13.76 MB / 0.8731 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.0005411/1.308, allocations: 246.5 kB / 1.157 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.308, allocations: 73.5 kB / 1.157 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/1.309, allocations: 78.77 kB / 1.157 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.309, allocations: 8.562 kB / 1.157 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.309, allocations: 5 kB / 1.157 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008265/1.309, allocations: 0.5146 MB / 1.158 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/1.312, allocations: 1.591 MB / 1.159 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.312, allocations: 4.062 kB / 1.159 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/1.313, allocations: 107.7 kB / 1.159 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/1.313, allocations: 10.72 kB / 1.159 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/1.313, allocations: 19.2 kB / 1.159 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.313, allocations: 9.25 kB / 1.159 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.313, allocations: 13.41 kB / 1.159 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/1.315, allocations: 0.8976 MB / 1.16 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/1.315, allocations: 198.6 kB / 1.16 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.315, allocations: 14.88 kB / 1.16 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/1.316, allocations: 21.31 kB / 1.16 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/1.316, allocations: 50.62 kB / 1.16 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/1.316, allocations: 26.33 kB / 1.16 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000616/1.317, allocations: 394.5 kB / 1.161 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.317, allocations: 1.094 kB / 1.161 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009298/1.317, allocations: 199.4 kB / 1.161 GB, free: 11.28 MB / 0.8731 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.0005624/1.318, allocations: 185 kB / 1.161 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009983/1.319, allocations: 450.4 kB / 1.162 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.319, allocations: 1.344 kB / 1.162 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/1.319, allocations: 232.3 kB / 1.162 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.322, allocations: 0.4909 MB / 1.162 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/1.325, allocations: 1.557 MB / 1.164 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/1.326, allocations: 0.9759 MB / 1.165 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008377/1.327, allocations: 162.9 kB / 1.165 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/1.327, allocations: 59.28 kB / 1.165 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of SimCode: time 1.222e-06/1.327, allocations: 0 / 1.165 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of Templates: time 0.0288/1.356, allocations: 14.79 MB / 1.179 GB, free: 3.363 MB / 0.8731 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches