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.008072/0.008072, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001797/0.001797, allocations: 190.1 kB / 16.67 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.26/2.26, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9296, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.271/1.201, allocations: 190.6 MB / 1.274 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01275/1.213, allocations: 5.728 MB / 1.28 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/1.216, allocations: 47.69 kB / 1.28 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/1.219, allocations: 0.5864 MB / 1.28 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/1.225, allocations: 1.835 MB / 1.282 GB, free: 6.816 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/1.229, allocations: 1.183 MB / 1.283 GB, free: 5.641 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004816/1.234, allocations: 2.957 MB / 1.286 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.235, allocations: 0.9555 MB / 1.287 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/1.238, allocations: 1.078 MB / 1.288 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/1.24, allocations: 0.908 MB / 1.289 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/1.24, allocations: 108 kB / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.244, allocations: 1.423 MB / 1.29 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005521/1.245, allocations: 454.8 kB / 1.291 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009543/1.245, allocations: 0.6573 MB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/1.249, allocations: 2.138 MB / 1.294 GB, free: 10.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.249, allocations: 0 / 1.294 GB, free: 10.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/1.249, allocations: 4 kB / 1.294 GB, free: 10.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.249, allocations: 0 / 1.294 GB, free: 10.94 MB / 1.029 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.002648/1.252, allocations: 1.515 MB / 1.295 GB, free: 9.375 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.252, allocations: 8.031 kB / 1.295 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.254, allocations: 318.3 kB / 1.295 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.256, allocations: 0.8552 MB / 1.296 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/1.256, allocations: 62 kB / 1.296 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.256, allocations: 84 kB / 1.296 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/1.257, allocations: 0.9193 MB / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/1.257, allocations: 0 / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/1.257, allocations: 36 kB / 1.297 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/1.257, allocations: 34 kB / 1.297 GB, free: 7.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/1.259, allocations: 0.8237 MB / 1.298 GB, free: 6.195 MB / 1.029 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.005442/1.264, allocations: 3.509 MB / 1.302 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/1.265, allocations: 0.4977 MB / 1.302 GB, free: 1.961 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/1.266, allocations: 295 kB / 1.302 GB, free: 1.672 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.266, allocations: 101.5 kB / 1.302 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.266, allocations: 43 kB / 1.303 GB, free: 1.504 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/1.266, allocations: 0 / 1.303 GB, free: 1.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.004065/1.27, allocations: 1.919 MB / 1.304 GB, free: 15.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.27, allocations: 55.84 kB / 1.304 GB, free: 15.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/1.271, allocations: 0.8059 MB / 1.305 GB, free: 14.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/1.271, allocations: 41.7 kB / 1.305 GB, free: 14.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/1.271, allocations: 475.2 kB / 1.306 GB, free: 14.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.272, allocations: 169.5 kB / 1.306 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.272, allocations: 114.2 kB / 1.306 GB, free: 13.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.272, allocations: 337.9 kB / 1.306 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/1.272, allocations: 245.1 kB / 1.307 GB, free: 13.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/1.273, allocations: 353.2 kB / 1.307 GB, free: 12.84 MB / 1.045 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.003661/1.276, allocations: 1.534 MB / 1.308 GB, free: 11.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/1.276, allocations: 4 kB / 1.308 GB, free: 11.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001399/1.278, allocations: 0.7806 MB / 1.309 GB, free: 10.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.278, allocations: 8.344 kB / 1.309 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.278, allocations: 4 kB / 1.309 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/1.278, allocations: 89.66 kB / 1.309 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/1.279, allocations: 143.8 kB / 1.309 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.282, allocations: 3.304 MB / 1.313 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/1.283, allocations: 23.92 kB / 1.313 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/1.283, allocations: 24 kB / 1.313 GB, free: 6.574 MB / 1.045 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.0005387/1.283, allocations: 302.1 kB / 1.313 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.284, allocations: 94.88 kB / 1.313 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/1.284, allocations: 100.7 kB / 1.313 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.284, allocations: 8 kB / 1.313 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.284, allocations: 0 / 1.313 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/1.285, allocations: 0.8504 MB / 1.314 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/1.288, allocations: 1.787 MB / 1.316 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.288, allocations: 7.984 kB / 1.316 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/1.288, allocations: 127.8 kB / 1.316 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/1.289, allocations: 68.8 kB / 1.316 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.289, allocations: 20.22 kB / 1.316 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.29, allocations: 1.777 MB / 1.318 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.29, allocations: 4 kB / 1.318 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.292, allocations: 1.074 MB / 1.319 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/1.292, allocations: 239.8 kB / 1.319 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.293, allocations: 15.94 kB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/1.293, allocations: 30.42 kB / 1.319 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.293, allocations: 43.95 kB / 1.319 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/1.293, allocations: 31.97 kB / 1.319 GB, free: 15.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007006/1.294, allocations: 0.5615 MB / 1.32 GB, free: 15.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.31e-07/1.294, allocations: 0 / 1.32 GB, free: 15.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009296/1.295, allocations: 276 kB / 1.32 GB, free: 14.77 MB / 1.061 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.0004961/1.296, allocations: 210.5 kB / 1.32 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.297, allocations: 0.7923 MB / 1.321 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.297, allocations: 7.906 kB / 1.321 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/1.297, allocations: 416.5 kB / 1.321 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.3, allocations: 0.5996 MB / 1.322 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/1.303, allocations: 1.796 MB / 1.324 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/1.304, allocations: 1.084 MB / 1.325 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007526/1.305, allocations: 215.7 kB / 1.325 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.305, allocations: 71.44 kB / 1.325 GB, free: 9.457 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.305, allocations: 0 / 1.325 GB, free: 9.457 MB / 1.061 GB Notification: Performance of Templates: time 0.03596/1.341, allocations: 21.1 MB / 1.346 GB, free: 4.664 MB / 1.076 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