Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00158/0.00158, allocations: 104.5 kB / 16.27 MB, free: 6.359 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.001585/0.001585, allocations: 190.5 kB / 17.2 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001906, allocations: 64.45 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.357, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9012/1.258, allocations: 190.6 MB / 1.204 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.27, allocations: 5.731 MB / 1.21 GB, free: 496 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/1.272, allocations: 44.78 kB / 1.21 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/1.274, allocations: 0.5858 MB / 1.21 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/1.28, allocations: 1.839 MB / 1.212 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/1.284, allocations: 1.178 MB / 1.213 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004728/1.288, allocations: 2.943 MB / 1.216 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.29, allocations: 0.9586 MB / 1.217 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/1.292, allocations: 1.039 MB / 1.218 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/1.295, allocations: 0.9081 MB / 1.219 GB, free: 10.26 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/1.295, allocations: 108.6 kB / 1.219 GB, free: 10.26 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/1.298, allocations: 1.429 MB / 1.22 GB, free: 9.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006279/1.299, allocations: 460.7 kB / 1.221 GB, free: 9.188 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/1.3, allocations: 0.6624 MB / 1.222 GB, free: 8.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/1.305, allocations: 2.112 MB / 1.224 GB, free: 6.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.305, allocations: 0 / 1.224 GB, free: 6.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/1.305, allocations: 4 kB / 1.224 GB, free: 6.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.305, allocations: 0 / 1.224 GB, free: 6.906 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.002968/1.308, allocations: 1.512 MB / 1.225 GB, free: 5.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.308, allocations: 12.62 kB / 1.225 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.31, allocations: 322.2 kB / 1.225 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/1.311, allocations: 0.82 MB / 1.226 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/1.311, allocations: 66 kB / 1.226 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.311, allocations: 87.98 kB / 1.226 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.313, allocations: 0.9091 MB / 1.227 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.313, allocations: 0 / 1.227 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/1.313, allocations: 40 kB / 1.227 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/1.313, allocations: 30 kB / 1.227 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.315, allocations: 0.8315 MB / 1.228 GB, free: 2.184 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.006211/1.321, allocations: 3.544 MB / 1.232 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/1.322, allocations: 0.4906 MB / 1.232 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/1.323, allocations: 295 kB / 1.232 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/1.323, allocations: 105.5 kB / 1.232 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/1.323, allocations: 39 kB / 1.232 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/1.323, allocations: 0 / 1.232 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.004579/1.327, allocations: 1.915 MB / 1.234 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.327, allocations: 55.84 kB / 1.234 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.329, allocations: 0.8058 MB / 1.235 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/1.329, allocations: 41.64 kB / 1.235 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/1.329, allocations: 479.4 kB / 1.236 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.329, allocations: 173.5 kB / 1.236 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/1.33, allocations: 114.2 kB / 1.236 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.33, allocations: 337.9 kB / 1.236 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/1.33, allocations: 245 kB / 1.237 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/1.331, allocations: 353.2 kB / 1.237 GB, free: 8.805 MB / 0.9356 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.004005/1.335, allocations: 1.541 MB / 1.238 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.335, allocations: 4 kB / 1.238 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001632/1.337, allocations: 0.7845 MB / 1.239 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.337, allocations: 8 kB / 1.239 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.337, allocations: 0 / 1.239 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/1.337, allocations: 97.98 kB / 1.239 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/1.338, allocations: 139.8 kB / 1.239 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/1.341, allocations: 3.308 MB / 1.243 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.342, allocations: 23.98 kB / 1.243 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/1.342, allocations: 23.94 kB / 1.243 GB, free: 2.535 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.0005762/1.343, allocations: 301.6 kB / 1.243 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/1.343, allocations: 90.97 kB / 1.243 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/1.343, allocations: 108.8 kB / 1.243 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.343, allocations: 4 kB / 1.243 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.343, allocations: 0 / 1.243 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/1.345, allocations: 0.8387 MB / 1.244 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.348, allocations: 1.799 MB / 1.246 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.348, allocations: 4 kB / 1.246 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/1.348, allocations: 131.8 kB / 1.246 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/1.349, allocations: 69.41 kB / 1.246 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/1.349, allocations: 16 kB / 1.246 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.351, allocations: 1.781 MB / 1.248 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.351, allocations: 7.984 kB / 1.248 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.352, allocations: 1.083 MB / 1.249 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/1.353, allocations: 231.9 kB / 1.249 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.353, allocations: 20.06 kB / 1.249 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/1.354, allocations: 40.05 kB / 1.249 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.354, allocations: 39.89 kB / 1.249 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/1.354, allocations: 28.17 kB / 1.249 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008213/1.355, allocations: 0.5615 MB / 1.25 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.355, allocations: 4 kB / 1.25 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00092/1.356, allocations: 284 kB / 1.25 GB, free: 10.71 MB / 0.9512 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.0005189/1.356, allocations: 199 kB / 1.25 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.358, allocations: 0.8546 MB / 1.251 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.358, allocations: 0.6875 kB / 1.251 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/1.359, allocations: 414.2 kB / 1.251 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.361, allocations: 0.6022 MB / 1.252 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/1.365, allocations: 1.887 MB / 1.254 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/1.366, allocations: 1.087 MB / 1.255 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/1.366, allocations: 75.44 kB / 1.255 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of SimCode: time 9.81e-07/1.366, allocations: 0 / 1.255 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of Templates: time 0.03448/1.4, allocations: 21.88 MB / 1.276 GB, free: 15.7 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T