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.008083/0.008083, allocations: 101 kB / 15.73 MB, free: 6.039 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.001816/0.001817, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.89 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3339, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9396/1.274, allocations: 190.6 MB / 1.412 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.284, allocations: 5.729 MB / 1.417 GB, free: 5.473 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/1.285, allocations: 46.06 kB / 1.417 GB, free: 5.453 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/1.287, allocations: 0.5773 MB / 1.418 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/1.292, allocations: 1.842 MB / 1.42 GB, free: 3.531 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/1.295, allocations: 1.183 MB / 1.421 GB, free: 2.629 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004166/1.3, allocations: 2.947 MB / 1.424 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.301, allocations: 0.9574 MB / 1.425 GB, free: 360 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/1.303, allocations: 1.042 MB / 1.426 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/1.305, allocations: 0.9173 MB / 1.427 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/1.305, allocations: 105.8 kB / 1.427 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/1.309, allocations: 1.437 MB / 1.428 GB, free: 14.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000569/1.309, allocations: 461.3 kB / 1.429 GB, free: 14.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008838/1.31, allocations: 0.6477 MB / 1.429 GB, free: 13.72 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003387/1.314, allocations: 2.144 MB / 1.431 GB, free: 11.99 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.314, allocations: 0 / 1.431 GB, free: 11.99 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.092e-06/1.314, allocations: 3.938 kB / 1.431 GB, free: 11.99 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.314, allocations: 0 / 1.431 GB, free: 11.99 MB / 1.123 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.00273/1.317, allocations: 1.545 MB / 1.433 GB, free: 10.39 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/1.317, allocations: 8.031 kB / 1.433 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.319, allocations: 330.9 kB / 1.433 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.32, allocations: 0.8599 MB / 1.434 GB, free: 9.152 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/1.32, allocations: 62 kB / 1.434 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.32, allocations: 84 kB / 1.434 GB, free: 9.012 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.322, allocations: 0.9052 MB / 1.435 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/1.322, allocations: 7.953 kB / 1.435 GB, free: 8.094 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/1.322, allocations: 43.94 kB / 1.435 GB, free: 8.051 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/1.322, allocations: 30 kB / 1.435 GB, free: 8.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/1.324, allocations: 0.8276 MB / 1.436 GB, free: 7.191 MB / 1.123 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.005065/1.329, allocations: 3.51 MB / 1.439 GB, free: 3.461 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/1.33, allocations: 0.4974 MB / 1.44 GB, free: 2.953 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/1.33, allocations: 301.4 kB / 1.44 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.33, allocations: 105.5 kB / 1.44 GB, free: 2.539 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.33, allocations: 43 kB / 1.44 GB, free: 2.488 MB / 1.123 GB Notification: Performance of pre-optimization done (n=47): time 3.246e-06/1.33, allocations: 0 / 1.44 GB, free: 2.488 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.003872/1.334, allocations: 1.936 MB / 1.442 GB, free: 468 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.334, allocations: 59.84 kB / 1.442 GB, free: 392 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/1.335, allocations: 0.8019 MB / 1.443 GB, free: 15.57 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/1.335, allocations: 41.64 kB / 1.443 GB, free: 15.53 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/1.336, allocations: 484.2 kB / 1.443 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.336, allocations: 186.4 kB / 1.444 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.336, allocations: 110.3 kB / 1.444 GB, free: 14.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.336, allocations: 329.9 kB / 1.444 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/1.336, allocations: 249.2 kB / 1.444 GB, free: 14.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/1.337, allocations: 353.3 kB / 1.445 GB, free: 13.8 MB / 1.139 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.003688/1.341, allocations: 1.526 MB / 1.446 GB, free: 12.23 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.341, allocations: 3.984 kB / 1.446 GB, free: 12.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001269/1.342, allocations: 0.7889 MB / 1.447 GB, free: 11.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.342, allocations: 4 kB / 1.447 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.342, allocations: 4 kB / 1.447 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/1.342, allocations: 109.9 kB / 1.447 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/1.343, allocations: 135.9 kB / 1.447 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/1.347, allocations: 3.312 MB / 1.45 GB, free: 7.574 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.347, allocations: 24.05 kB / 1.45 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/1.347, allocations: 27.94 kB / 1.45 GB, free: 7.523 MB / 1.139 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.0004731/1.348, allocations: 301.5 kB / 1.451 GB, free: 7.219 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.348, allocations: 95.44 kB / 1.451 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/1.348, allocations: 100.7 kB / 1.451 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.348, allocations: 4 kB / 1.451 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.348, allocations: 4 kB / 1.451 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/1.349, allocations: 0.8427 MB / 1.452 GB, free: 6.082 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/1.352, allocations: 1.795 MB / 1.453 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.352, allocations: 416 / 1.453 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/1.353, allocations: 127.8 kB / 1.454 GB, free: 4.062 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/1.353, allocations: 68.81 kB / 1.454 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/1.353, allocations: 12 kB / 1.454 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/1.355, allocations: 1.791 MB / 1.455 GB, free: 2.047 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.355, allocations: 3.938 kB / 1.455 GB, free: 2.043 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/1.356, allocations: 1.074 MB / 1.456 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/1.356, allocations: 248.3 kB / 1.457 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.357, allocations: 12 kB / 1.457 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/1.357, allocations: 34.03 kB / 1.457 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.357, allocations: 51.67 kB / 1.457 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/1.357, allocations: 31.98 kB / 1.457 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000684/1.358, allocations: 0.5615 MB / 1.457 GB, free: 15.97 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.358, allocations: 0 / 1.457 GB, free: 15.97 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000838/1.359, allocations: 280 kB / 1.458 GB, free: 15.7 MB / 1.154 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.0004634/1.359, allocations: 187.2 kB / 1.458 GB, free: 15.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.361, allocations: 0.8007 MB / 1.459 GB, free: 14.69 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.361, allocations: 8.188 kB / 1.459 GB, free: 14.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/1.361, allocations: 418.1 kB / 1.459 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.364, allocations: 0.6074 MB / 1.46 GB, free: 13.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.367, allocations: 1.856 MB / 1.461 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/1.368, allocations: 1.08 MB / 1.462 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007801/1.369, allocations: 215.7 kB / 1.463 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.369, allocations: 67.44 kB / 1.463 GB, free: 10.34 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.369, allocations: 0 / 1.463 GB, free: 10.34 MB / 1.154 GB Notification: Performance of Templates: time 0.03666/1.406, allocations: 20.75 MB / 1.483 GB, free: 5.855 MB / 1.17 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