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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7635, allocations: 140.4 MB / 0.9496 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2/0.9635, allocations: 181.9 MB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9737, allocations: 5.37 MB / 1.132 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.9755, allocations: 35.81 kB / 1.132 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.977, allocations: 433.4 kB / 1.133 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005833/0.9829, allocations: 1.68 MB / 1.135 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.986, allocations: 0.795 MB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.9902, allocations: 2.192 MB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.9915, allocations: 0.6929 MB / 1.138 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.9932, allocations: 0.7316 MB / 1.139 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.9948, allocations: 0.6903 MB / 1.139 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.995, allocations: 76 kB / 1.14 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.9981, allocations: 1.391 MB / 1.141 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.9985, allocations: 315.2 kB / 1.141 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.999, allocations: 477.8 kB / 1.142 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/1.001, allocations: 1.64 MB / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.001, allocations: 0 / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/1.001, allocations: 0 / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.001, allocations: 4 kB / 1.143 GB, free: 10.97 MB / 0.9044 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.001647/1.003, allocations: 1.188 MB / 1.144 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.003, allocations: 8.031 kB / 1.144 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.005, allocations: 266.8 kB / 1.145 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/1.006, allocations: 0.6748 MB / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/1.006, allocations: 45.3 kB / 1.145 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/1.006, allocations: 63.98 kB / 1.145 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009737/1.007, allocations: 0.5765 MB / 1.146 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.007, allocations: 0 / 1.146 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/1.007, allocations: 28 kB / 1.146 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/1.007, allocations: 21.31 kB / 1.146 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/1.008, allocations: 0.497 MB / 1.147 GB, free: 7.512 MB / 0.9044 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.003249/1.011, allocations: 2.404 MB / 1.149 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/1.012, allocations: 426.8 kB / 1.149 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/1.012, allocations: 221.5 kB / 1.15 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/1.012, allocations: 101.1 kB / 1.15 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.013, allocations: 38.52 kB / 1.15 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/1.013, allocations: 0 / 1.15 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002797/1.015, allocations: 1.444 MB / 1.151 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.015, allocations: 59.83 kB / 1.151 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/1.016, allocations: 0.5383 MB / 1.152 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/1.016, allocations: 37.7 kB / 1.152 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/1.016, allocations: 328.6 kB / 1.152 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.016, allocations: 165.6 kB / 1.152 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.017, allocations: 90.16 kB / 1.152 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.017, allocations: 378.7 kB / 1.153 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/1.017, allocations: 173 kB / 1.153 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/1.017, allocations: 260.8 kB / 1.153 GB, free: 0.5391 MB / 0.9044 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.003246/1.021, allocations: 1.449 MB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.021, allocations: 0 / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008337/1.022, allocations: 0.5344 MB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.022, allocations: 4 kB / 1.155 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.022, allocations: 11.92 kB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.022, allocations: 0 / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/1.022, allocations: 99.83 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.022, allocations: 4 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/1.023, allocations: 17.56 kB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/1.023, allocations: 19.94 kB / 1.155 GB, free: 14.34 MB / 0.92 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.0003377/1.023, allocations: 250.5 kB / 1.155 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.023, allocations: 75.14 kB / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/1.023, allocations: 74.45 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.023, allocations: 8 kB / 1.156 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/1.023, allocations: 0 / 1.156 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006888/1.024, allocations: 0.5144 MB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.026, allocations: 1.59 MB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.026, allocations: 4 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/1.027, allocations: 116.4 kB / 1.158 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.027, allocations: 12 kB / 1.158 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/1.027, allocations: 12 kB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.027, allocations: 8 kB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.027, allocations: 15.88 kB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.028, allocations: 0.8908 MB / 1.159 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.028, allocations: 200.3 kB / 1.159 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.028, allocations: 20 kB / 1.159 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/1.029, allocations: 21.41 kB / 1.159 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/1.029, allocations: 43.78 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.029, allocations: 27.98 kB / 1.159 GB, free: 10.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004626/1.03, allocations: 394.8 kB / 1.159 GB, free: 9.844 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 4 kB / 1.159 GB, free: 9.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00064/1.03, allocations: 196 kB / 1.159 GB, free: 9.648 MB / 0.92 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.0004528/1.031, allocations: 192.7 kB / 1.16 GB, free: 9.457 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008279/1.032, allocations: 477.2 kB / 1.16 GB, free: 8.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.032, allocations: 7.938 kB / 1.16 GB, free: 8.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/1.032, allocations: 236.8 kB / 1.16 GB, free: 8.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.034, allocations: 493.7 kB / 1.161 GB, free: 8.285 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/1.037, allocations: 1.57 MB / 1.162 GB, free: 6.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/1.037, allocations: 0.9733 MB / 1.163 GB, free: 5.625 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006575/1.038, allocations: 161.9 kB / 1.163 GB, free: 5.465 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.038, allocations: 59.44 kB / 1.163 GB, free: 5.406 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/1.038, allocations: 0 / 1.163 GB, free: 5.406 MB / 0.92 GB Notification: Performance of Templates: time 0.02614/1.064, allocations: 14.82 MB / 1.178 GB, free: 6.809 MB / 0.9356 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