Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 104.8 kB / 16.35 MB, free: 6.289 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.001133/0.001133, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.23 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3261, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9271/1.253, allocations: 190.6 MB / 1.137 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01151/1.265, allocations: 5.733 MB / 1.143 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/1.268, allocations: 41.88 kB / 1.143 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/1.27, allocations: 0.5878 MB / 1.143 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006775/1.277, allocations: 1.835 MB / 1.145 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/1.282, allocations: 1.187 MB / 1.146 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007793/1.289, allocations: 2.949 MB / 1.149 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/1.292, allocations: 0.9487 MB / 1.15 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/1.295, allocations: 1.05 MB / 1.151 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/1.298, allocations: 0.9134 MB / 1.152 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/1.298, allocations: 112.7 kB / 1.152 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/1.303, allocations: 1.43 MB / 1.154 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008021/1.304, allocations: 461.6 kB / 1.154 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.305, allocations: 0.6532 MB / 1.155 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005198/1.311, allocations: 2.127 MB / 1.157 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.311, allocations: 4.312 kB / 1.157 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/1.311, allocations: 0 / 1.157 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.357e-05/1.311, allocations: 0 / 1.157 GB, free: 1.199 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00367/1.314, allocations: 1.518 MB / 1.158 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/1.314, allocations: 15.59 kB / 1.158 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/1.317, allocations: 316 kB / 1.159 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/1.319, allocations: 0.8471 MB / 1.159 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/1.319, allocations: 64.09 kB / 1.159 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.319, allocations: 88.19 kB / 1.16 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/1.321, allocations: 0.9157 MB / 1.16 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.321, allocations: 0 / 1.16 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/1.321, allocations: 37.78 kB / 1.16 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/1.321, allocations: 34.72 kB / 1.161 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/1.323, allocations: 0.8267 MB / 1.161 GB, free: 14.93 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.006708/1.33, allocations: 3.508 MB / 1.165 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/1.33, allocations: 0.4987 MB / 1.165 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/1.331, allocations: 293.2 kB / 1.166 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/1.331, allocations: 100.7 kB / 1.166 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/1.331, allocations: 43.5 kB / 1.166 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/1.331, allocations: 0 / 1.166 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.004684/1.336, allocations: 1.916 MB / 1.168 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.336, allocations: 62.91 kB / 1.168 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/1.337, allocations: 0.8069 MB / 1.168 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/1.337, allocations: 38.77 kB / 1.168 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/1.338, allocations: 476 kB / 1.169 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.338, allocations: 169.4 kB / 1.169 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/1.338, allocations: 118 kB / 1.169 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.338, allocations: 329.3 kB / 1.169 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/1.339, allocations: 244 kB / 1.17 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/1.339, allocations: 356.8 kB / 1.17 GB, free: 9.668 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/1.343, allocations: 1.531 MB / 1.172 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.343, allocations: 1.469 kB / 1.172 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001949/1.345, allocations: 0.7884 MB / 1.172 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.345, allocations: 5.5 kB / 1.172 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.345, allocations: 4.125 kB / 1.172 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/1.346, allocations: 94.86 kB / 1.172 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/1.347, allocations: 147.1 kB / 1.173 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/1.35, allocations: 3.297 MB / 1.176 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.351, allocations: 22.48 kB / 1.176 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.351, allocations: 32.94 kB / 1.176 GB, free: 5.605 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007886/1.352, allocations: 306.4 kB / 1.176 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.352, allocations: 94.34 kB / 1.176 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/1.353, allocations: 98.62 kB / 1.176 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.353, allocations: 5.344 kB / 1.176 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.353, allocations: 7.875 kB / 1.176 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.354, allocations: 0.8435 MB / 1.177 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/1.357, allocations: 1.792 MB / 1.179 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.357, allocations: 3 kB / 1.179 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/1.358, allocations: 128.6 kB / 1.179 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/1.358, allocations: 67.2 kB / 1.179 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/1.358, allocations: 20 kB / 1.179 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.36, allocations: 1.777 MB / 1.181 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.36, allocations: 6.641 kB / 1.181 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.362, allocations: 1.071 MB / 1.182 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/1.363, allocations: 241.6 kB / 1.182 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.363, allocations: 12.31 kB / 1.182 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/1.364, allocations: 27.45 kB / 1.182 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.364, allocations: 45.42 kB / 1.182 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/1.364, allocations: 33.97 kB / 1.182 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007984/1.365, allocations: 0.563 MB / 1.183 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.365, allocations: 0 / 1.183 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001027/1.366, allocations: 280.6 kB / 1.183 GB, free: 0.6016 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004939/1.366, allocations: 199.8 kB / 1.183 GB, free: 476 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.368, allocations: 0.7964 MB / 1.184 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.368, allocations: 64 / 1.184 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/1.368, allocations: 431.9 kB / 1.184 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.371, allocations: 0.6001 MB / 1.185 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/1.374, allocations: 1.8 MB / 1.187 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/1.374, allocations: 1.093 MB / 1.188 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008201/1.375, allocations: 216.5 kB / 1.188 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/1.375, allocations: 66.34 kB / 1.188 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of SimCode: time 9.719e-06/1.375, allocations: 0 / 1.188 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of Templates: time 0.03595/1.411, allocations: 20.57 MB / 1.208 GB, free: 3.145 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches