Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00165/0.00165, 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.002076/0.002076, allocations: 193.7 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7451 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.44 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9005/1.267, allocations: 190.6 MB / 1.254 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009023/1.276, allocations: 5.738 MB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/1.277, allocations: 42.22 kB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/1.279, allocations: 0.5743 MB / 1.261 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/1.283, allocations: 1.843 MB / 1.262 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/1.287, allocations: 1.177 MB / 1.263 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003971/1.291, allocations: 2.94 MB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/1.292, allocations: 0.9563 MB / 1.267 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/1.294, allocations: 1.047 MB / 1.268 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/1.297, allocations: 0.9101 MB / 1.269 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/1.297, allocations: 113.4 kB / 1.269 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/1.3, allocations: 1.429 MB / 1.271 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005594/1.301, allocations: 463.8 kB / 1.271 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000994/1.302, allocations: 0.653 MB / 1.272 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004304/1.306, allocations: 2.116 MB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.306, allocations: 0.75 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/1.306, allocations: 3.938 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.147e-05/1.306, allocations: 2.109 kB / 1.274 GB, free: 5.355 MB / 0.9981 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.003024/1.309, allocations: 1.521 MB / 1.275 GB, free: 20.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.309, allocations: 9.281 kB / 1.275 GB, free: 20.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.311, allocations: 311.5 kB / 1.276 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.313, allocations: 0.8106 MB / 1.276 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/1.313, allocations: 67.61 kB / 1.277 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.313, allocations: 83.78 kB / 1.277 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.315, allocations: 0.9148 MB / 1.277 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/1.315, allocations: 5.672 kB / 1.277 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.315, allocations: 37.27 kB / 1.278 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/1.315, allocations: 32.3 kB / 1.278 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.316, allocations: 0.8276 MB / 1.278 GB, free: 20.13 MB / 1.014 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.005562/1.322, allocations: 3.546 MB / 1.282 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/1.323, allocations: 0.4967 MB / 1.282 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/1.323, allocations: 297.5 kB / 1.283 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.323, allocations: 106.5 kB / 1.283 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.323, allocations: 42.36 kB / 1.283 GB, free: 18.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/1.323, allocations: 0 / 1.283 GB, free: 18.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003821/1.327, allocations: 1.916 MB / 1.285 GB, free: 17.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/1.327, allocations: 65.5 kB / 1.285 GB, free: 17.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/1.328, allocations: 0.8026 MB / 1.285 GB, free: 17.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/1.328, allocations: 41.33 kB / 1.285 GB, free: 17.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/1.329, allocations: 479.5 kB / 1.286 GB, free: 17.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.329, allocations: 169.9 kB / 1.286 GB, free: 17.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.329, allocations: 113.4 kB / 1.286 GB, free: 17.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.329, allocations: 329.8 kB / 1.287 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/1.329, allocations: 243.2 kB / 1.287 GB, free: 17.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/1.33, allocations: 355 kB / 1.287 GB, free: 17.02 MB / 1.014 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.003625/1.334, allocations: 1.534 MB / 1.289 GB, free: 16.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.334, allocations: 1.406 kB / 1.289 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001323/1.335, allocations: 0.7865 MB / 1.289 GB, free: 16.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.335, allocations: 6.344 kB / 1.289 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.335, allocations: 4.156 kB / 1.289 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/1.335, allocations: 96.14 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/1.336, allocations: 152.2 kB / 1.29 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/1.339, allocations: 3.305 MB / 1.293 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/1.34, allocations: 24.19 kB / 1.293 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.34, allocations: 21.28 kB / 1.293 GB, free: 13.98 MB / 1.014 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.0004811/1.34, allocations: 295.1 kB / 1.293 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.34, allocations: 100.1 kB / 1.293 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.341, allocations: 102 kB / 1.293 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.341, allocations: 9.281 kB / 1.293 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.341, allocations: 0.7812 kB / 1.293 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/1.342, allocations: 0.8438 MB / 1.294 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.344, allocations: 1.795 MB / 1.296 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.344, allocations: 3.125 kB / 1.296 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/1.345, allocations: 126.2 kB / 1.296 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/1.345, allocations: 71.2 kB / 1.296 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/1.345, allocations: 17.41 kB / 1.296 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/1.347, allocations: 1.785 MB / 1.298 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.347, allocations: 3.562 kB / 1.298 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.349, allocations: 1.075 MB / 1.299 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/1.349, allocations: 237.1 kB / 1.299 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.349, allocations: 17.56 kB / 1.299 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/1.35, allocations: 31.3 kB / 1.299 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.35, allocations: 47.12 kB / 1.299 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/1.35, allocations: 29.28 kB / 1.299 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006635/1.351, allocations: 0.5614 MB / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.351, allocations: 0 / 1.3 GB, free: 11.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009422/1.352, allocations: 281.5 kB / 1.3 GB, free: 11.02 MB / 1.014 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.0004188/1.352, allocations: 204.6 kB / 1.3 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.353, allocations: 0.8541 MB / 1.301 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.353, allocations: 2.562 kB / 1.301 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/1.354, allocations: 420.2 kB / 1.302 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.356, allocations: 0.6007 MB / 1.302 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/1.359, allocations: 1.828 MB / 1.304 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/1.36, allocations: 1.089 MB / 1.305 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008605/1.361, allocations: 210.2 kB / 1.305 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.361, allocations: 68.09 kB / 1.305 GB, free: 8.926 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.361, allocations: 7.938 kB / 1.305 GB, free: 8.918 MB / 1.014 GB Notification: Performance of Templates: time 0.03311/1.394, allocations: 20.6 MB / 1.325 GB, free: 5.895 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches