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.0009695/0.0009695, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001079/0.001079, allocations: 172.7 kB / 15.95 MB, free: 208 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.234 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.443/2.443, allocations: 390.9 MB / 0.666 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003503, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.8879, allocations: 142.4 MB / 0.9544 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1924/1.08, allocations: 165.4 MB / 1.116 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008494/1.089, allocations: 5.047 MB / 1.121 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/1.09, allocations: 31.81 kB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009835/1.091, allocations: 298.2 kB / 1.121 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/1.095, allocations: 1.217 MB / 1.122 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/1.097, allocations: 0.5739 MB / 1.123 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003297/1.1, allocations: 2.522 MB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008542/1.101, allocations: 0.5077 MB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/1.102, allocations: 0.6184 MB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/1.103, allocations: 0.6226 MB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/1.103, allocations: 27.94 kB / 1.127 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/1.105, allocations: 0.6898 MB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/1.106, allocations: 263.2 kB / 1.128 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002734/1.106, allocations: 193.3 kB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/1.107, allocations: 1.122 MB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.107, allocations: 0 / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/1.107, allocations: 0 / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.053e-05/1.107, allocations: 0 / 1.129 GB, free: 11.9 MB / 0.8887 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.001586/1.109, allocations: 1.024 MB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.109, allocations: 12.03 kB / 1.13 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/1.111, allocations: 274.7 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/1.112, allocations: 0.6519 MB / 1.131 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/1.112, allocations: 45.31 kB / 1.131 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/1.112, allocations: 60 kB / 1.131 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.113, allocations: 0.5726 MB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.113, allocations: 0 / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/1.113, allocations: 24 kB / 1.132 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/1.113, allocations: 25.3 kB / 1.132 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/1.114, allocations: 0.5009 MB / 1.132 GB, free: 8.617 MB / 0.8887 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.003117/1.117, allocations: 2.392 MB / 1.135 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/1.118, allocations: 426.8 kB / 1.135 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/1.118, allocations: 213.5 kB / 1.135 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.118, allocations: 109.1 kB / 1.135 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.118, allocations: 46.52 kB / 1.136 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/1.118, allocations: 0 / 1.136 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.002854/1.121, allocations: 1.446 MB / 1.137 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/1.121, allocations: 55.84 kB / 1.137 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/1.122, allocations: 0.5382 MB / 1.138 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.122, allocations: 33.7 kB / 1.138 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.122, allocations: 324.7 kB / 1.138 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.122, allocations: 165.6 kB / 1.138 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/1.122, allocations: 8 kB / 1.138 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.122, allocations: 374.8 kB / 1.138 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.123, allocations: 177 kB / 1.139 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/1.123, allocations: 252.8 kB / 1.139 GB, free: 1.758 MB / 0.8887 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.002572/1.126, allocations: 1.047 MB / 1.14 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.126, allocations: 0 / 1.14 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008417/1.127, allocations: 0.5303 MB / 1.14 GB, free: 144 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.127, allocations: 9.391 kB / 1.14 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.127, allocations: 7.953 kB / 1.14 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.127, allocations: 4 kB / 1.14 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.127, allocations: 95.84 kB / 1.14 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.127, allocations: 4 kB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/1.128, allocations: 44.14 kB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/1.128, allocations: 16 kB / 1.141 GB, free: 15.96 MB / 0.9044 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.0003612/1.128, allocations: 249.7 kB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/1.128, allocations: 67.25 kB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/1.128, allocations: 78.45 kB / 1.141 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.128, allocations: 7.781 kB / 1.141 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.128, allocations: 0 / 1.141 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007042/1.129, allocations: 0.5144 MB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.131, allocations: 1.581 MB / 1.143 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.131, allocations: 4 kB / 1.143 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/1.132, allocations: 115.8 kB / 1.143 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.132, allocations: 8.625 kB / 1.143 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/1.132, allocations: 19.98 kB / 1.143 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.132, allocations: 15.95 kB / 1.143 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.132, allocations: 7.938 kB / 1.143 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.133, allocations: 0.8833 MB / 1.144 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/1.134, allocations: 200.2 kB / 1.144 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/1.134, allocations: 19.98 kB / 1.144 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.134, allocations: 32.73 kB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/1.134, allocations: 51.78 kB / 1.144 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/1.134, allocations: 31.89 kB / 1.144 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004425/1.135, allocations: 394.8 kB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.135, allocations: 0 / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006986/1.135, allocations: 200 kB / 1.145 GB, free: 11.26 MB / 0.9044 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.0004582/1.136, allocations: 194.1 kB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007731/1.137, allocations: 441.2 kB / 1.145 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.137, allocations: 4.312 kB / 1.145 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.137, allocations: 227.6 kB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.139, allocations: 473.4 kB / 1.146 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/1.142, allocations: 1.905 MB / 1.148 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/1.142, allocations: 0.9697 MB / 1.149 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006544/1.143, allocations: 165.8 kB / 1.149 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.143, allocations: 55.44 kB / 1.149 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/1.143, allocations: 0 / 1.149 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of Templates: time 0.0248/1.168, allocations: 13.63 MB / 1.162 GB, free: 9.309 MB / 0.92 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches