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.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.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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 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.001295/0.001295, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.466/2.466, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7385/0.7399, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2274/0.9674, allocations: 190.6 MB / 1.136 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.979, allocations: 5.742 MB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.981, allocations: 39.75 kB / 1.141 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.9832, allocations: 0.5864 MB / 1.142 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006165/0.9894, allocations: 1.842 MB / 1.144 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.9932, allocations: 1.175 MB / 1.145 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005028/0.9983, allocations: 2.944 MB / 1.148 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1, allocations: 0.9615 MB / 1.149 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.003, allocations: 1.043 MB / 1.15 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/1.006, allocations: 0.9084 MB / 1.151 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005039/1.006, allocations: 111.9 kB / 1.151 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/1.01, allocations: 1.426 MB / 1.152 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008651/1.011, allocations: 458.8 kB / 1.153 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/1.013, allocations: 0.6651 MB / 1.153 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004718/1.018, allocations: 2.108 MB / 1.155 GB, free: 14.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.018, allocations: 0 / 1.155 GB, free: 14.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/1.018, allocations: 0 / 1.155 GB, free: 14.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.041e-05/1.018, allocations: 0 / 1.155 GB, free: 14.57 MB / 0.92 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.003684/1.021, allocations: 1.519 MB / 1.157 GB, free: 13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.021, allocations: 8.031 kB / 1.157 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/1.024, allocations: 314.2 kB / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.025, allocations: 0.8124 MB / 1.158 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/1.026, allocations: 66 kB / 1.158 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.026, allocations: 83.91 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.028, allocations: 0.9208 MB / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.028, allocations: 0 / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.028, allocations: 39.98 kB / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/1.028, allocations: 30 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/1.03, allocations: 0.8315 MB / 1.16 GB, free: 9.852 MB / 0.92 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.006678/1.036, allocations: 3.547 MB / 1.163 GB, free: 6.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/1.037, allocations: 0.4925 MB / 1.164 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/1.038, allocations: 298 kB / 1.164 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/1.038, allocations: 109.5 kB / 1.164 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.038, allocations: 39 kB / 1.164 GB, free: 5.113 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.745e-06/1.038, allocations: 0 / 1.164 GB, free: 5.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004565/1.042, allocations: 1.911 MB / 1.166 GB, free: 3.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/1.043, allocations: 59.84 kB / 1.166 GB, free: 3.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/1.044, allocations: 0.8096 MB / 1.167 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/1.044, allocations: 37.7 kB / 1.167 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/1.044, allocations: 471.4 kB / 1.167 GB, free: 1.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.045, allocations: 177.5 kB / 1.167 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.045, allocations: 114.2 kB / 1.168 GB, free: 1.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.045, allocations: 333.9 kB / 1.168 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/1.045, allocations: 241.2 kB / 1.168 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/1.046, allocations: 357.2 kB / 1.168 GB, free: 468 kB / 0.92 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.003978/1.05, allocations: 1.538 MB / 1.17 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.05, allocations: 0 / 1.17 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001547/1.051, allocations: 0.7767 MB / 1.171 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.052, allocations: 8 kB / 1.171 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.052, allocations: 4 kB / 1.171 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/1.052, allocations: 97.98 kB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/1.053, allocations: 143.8 kB / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/1.056, allocations: 3.312 MB / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/1.057, allocations: 23.92 kB / 1.174 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/1.057, allocations: 24 kB / 1.174 GB, free: 10.18 MB / 0.9356 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.0006168/1.058, allocations: 293.6 kB / 1.175 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/1.058, allocations: 95.03 kB / 1.175 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/1.058, allocations: 104.7 kB / 1.175 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.058, allocations: 4 kB / 1.175 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.058, allocations: 0 / 1.175 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/1.06, allocations: 0.8387 MB / 1.176 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/1.063, allocations: 1.801 MB / 1.177 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.063, allocations: 0 / 1.177 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/1.064, allocations: 131.8 kB / 1.177 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/1.064, allocations: 73.41 kB / 1.177 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/1.064, allocations: 19.98 kB / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.066, allocations: 1.77 MB / 1.179 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.066, allocations: 4.031 kB / 1.179 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.068, allocations: 1.069 MB / 1.18 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/1.068, allocations: 239.9 kB / 1.181 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.069, allocations: 16.06 kB / 1.181 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/1.069, allocations: 32.72 kB / 1.181 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.069, allocations: 48.06 kB / 1.181 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/1.07, allocations: 27.98 kB / 1.181 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008337/1.07, allocations: 0.5615 MB / 1.181 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/1.07, allocations: 4 kB / 1.181 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001079/1.071, allocations: 280 kB / 1.181 GB, free: 2.379 MB / 0.9356 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.0005407/1.072, allocations: 204.3 kB / 1.182 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001706/1.074, allocations: 0.8589 MB / 1.182 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.074, allocations: 0.6875 kB / 1.182 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006844/1.074, allocations: 418.5 kB / 1.183 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.078, allocations: 0.6064 MB / 1.183 GB, free: 288 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/1.081, allocations: 1.828 MB / 1.185 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.082, allocations: 1.087 MB / 1.186 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001083/1.083, allocations: 219.7 kB / 1.187 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.084, allocations: 67.42 kB / 1.187 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of SimCode: time 1.924e-06/1.084, allocations: 0 / 1.187 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.03767/1.121, allocations: 20.6 MB / 1.207 GB, free: 8.672 MB / 0.9669 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches