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.00112/0.001119, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001099/0.001099, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 66.89 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.7519/1.048, allocations: 181.9 MB / 1.128 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009201/1.057, allocations: 5.373 MB / 1.133 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/1.059, allocations: 36.62 kB / 1.133 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/1.061, allocations: 434.7 kB / 1.134 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/1.066, allocations: 1.675 MB / 1.135 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/1.068, allocations: 0.7872 MB / 1.136 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003608/1.072, allocations: 2.198 MB / 1.138 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.073, allocations: 0.6987 MB / 1.139 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/1.075, allocations: 0.7354 MB / 1.14 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.078, allocations: 0.6843 MB / 1.14 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/1.078, allocations: 78.62 kB / 1.14 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/1.082, allocations: 1.395 MB / 1.142 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/1.082, allocations: 324.2 kB / 1.142 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007878/1.083, allocations: 470.4 kB / 1.142 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/1.087, allocations: 1.644 MB / 1.144 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/1.087, allocations: 2 kB / 1.144 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/1.087, allocations: 0 / 1.144 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.087, allocations: 0 / 1.144 GB, free: 4.402 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.002391/1.089, allocations: 1.179 MB / 1.145 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.089, allocations: 9.969 kB / 1.145 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.091, allocations: 271 kB / 1.145 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.093, allocations: 0.6675 MB / 1.146 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/1.093, allocations: 49.28 kB / 1.146 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.093, allocations: 63.91 kB / 1.146 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.094, allocations: 0.5859 MB / 1.147 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.094, allocations: 0 / 1.147 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/1.094, allocations: 23.62 kB / 1.147 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/1.094, allocations: 20.62 kB / 1.147 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/1.095, allocations: 0.5038 MB / 1.147 GB, free: 19.28 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.003485/1.099, allocations: 2.398 MB / 1.15 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/1.099, allocations: 427.8 kB / 1.15 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/1.1, allocations: 220.6 kB / 1.15 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.1, allocations: 100.5 kB / 1.15 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.1, allocations: 42.05 kB / 1.15 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.634e-06/1.1, allocations: 0 / 1.15 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003168/1.103, allocations: 1.443 MB / 1.152 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.103, allocations: 57.34 kB / 1.152 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/1.104, allocations: 0.5388 MB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/1.104, allocations: 37.02 kB / 1.152 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/1.104, allocations: 332.7 kB / 1.153 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.104, allocations: 165.8 kB / 1.153 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.104, allocations: 89.02 kB / 1.153 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.105, allocations: 378.2 kB / 1.153 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/1.105, allocations: 174.7 kB / 1.153 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/1.105, allocations: 258 kB / 1.154 GB, free: 15.15 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.003281/1.108, allocations: 1.445 MB / 1.155 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.108, allocations: 4.938 kB / 1.155 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009571/1.109, allocations: 0.5271 MB / 1.156 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.109, allocations: 6.375 kB / 1.156 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.109, allocations: 1.656 kB / 1.156 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.11, allocations: 7.094 kB / 1.156 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/1.11, allocations: 96.28 kB / 1.156 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.11, allocations: 2.656 kB / 1.156 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/1.111, allocations: 17.61 kB / 1.156 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.111, allocations: 16.59 kB / 1.156 GB, free: 14.21 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.0004276/1.111, allocations: 252.2 kB / 1.156 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.111, allocations: 69.22 kB / 1.156 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/1.111, allocations: 81.62 kB / 1.156 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.111, allocations: 4.562 kB / 1.156 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.112, allocations: 1.156 kB / 1.156 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007092/1.112, allocations: 0.511 MB / 1.157 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/1.115, allocations: 1.593 MB / 1.158 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.115, allocations: 9.5 kB / 1.158 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/1.115, allocations: 111.6 kB / 1.158 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.115, allocations: 7.219 kB / 1.158 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/1.115, allocations: 13.19 kB / 1.158 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/1.115, allocations: 13.38 kB / 1.158 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.115, allocations: 9.641 kB / 1.158 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.117, allocations: 0.9051 MB / 1.159 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/1.117, allocations: 197.8 kB / 1.159 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/1.117, allocations: 20.34 kB / 1.159 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/1.118, allocations: 15.06 kB / 1.16 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/1.118, allocations: 49.64 kB / 1.16 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/1.118, allocations: 27.77 kB / 1.16 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004927/1.118, allocations: 398 kB / 1.16 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/1.118, allocations: 0 / 1.16 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007984/1.119, allocations: 196.6 kB / 1.16 GB, free: 11.73 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.0004547/1.12, allocations: 195.7 kB / 1.16 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009737/1.121, allocations: 480.9 kB / 1.161 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.121, allocations: 1.156 kB / 1.161 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/1.121, allocations: 229.1 kB / 1.161 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.123, allocations: 495.3 kB / 1.161 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/1.126, allocations: 1.623 MB / 1.163 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/1.126, allocations: 0.9789 MB / 1.164 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/1.126, allocations: 57.41 kB / 1.164 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/1.126, allocations: 0 / 1.164 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of Templates: time 0.02114/1.148, allocations: 11.6 MB / 1.175 GB, free: 5.266 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 -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