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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008934/0.0008934, allocations: 92.31 kB / 16.02 MB, free: 80 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.001384/0.001384, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004045, allocations: 12.23 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6557, allocations: 153.8 MB / 1.024 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1994/0.8552, allocations: 185.9 MB / 1.205 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.8654, allocations: 5.736 MB / 1.211 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.8673, allocations: 35.75 kB / 1.211 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.8691, allocations: 0.5013 MB / 1.211 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.8745, allocations: 1.735 MB / 1.213 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.878, allocations: 1.084 MB / 1.214 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.8833, allocations: 4.086 MB / 1.218 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.8849, allocations: 0.7796 MB / 1.219 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.8871, allocations: 0.875 MB / 1.22 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.8897, allocations: 0.9066 MB / 1.221 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003931/0.8901, allocations: 40 kB / 1.221 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.894, allocations: 1.625 MB / 1.222 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007477/0.8948, allocations: 390.8 kB / 1.223 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.8958, allocations: 0.5965 MB / 1.223 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.898, allocations: 1.574 MB / 1.225 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.898, allocations: 0 / 1.225 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.898, allocations: 0 / 1.225 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.8981, allocations: 0 / 1.225 GB, free: 1.453 MB / 0.9669 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.002339/0.9004, allocations: 1.293 MB / 1.226 GB, free: 108 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.9005, allocations: 15.92 kB / 1.226 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.9025, allocations: 314.4 kB / 1.226 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.9037, allocations: 0.8046 MB / 1.227 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.9038, allocations: 66 kB / 1.227 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.904, allocations: 83.98 kB / 1.227 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.9056, allocations: 0.9223 MB / 1.228 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9056, allocations: 4 kB / 1.228 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/0.9057, allocations: 40 kB / 1.228 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.9058, allocations: 30 kB / 1.228 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.9073, allocations: 0.8354 MB / 1.229 GB, free: 12.95 MB / 0.9825 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.005328/0.9126, allocations: 3.544 MB / 1.232 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.9134, allocations: 0.5094 MB / 1.233 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.9139, allocations: 298 kB / 1.233 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.9141, allocations: 105.5 kB / 1.233 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.9141, allocations: 39 kB / 1.233 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.9141, allocations: 0 / 1.233 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004102/0.9182, allocations: 1.95 MB / 1.235 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.9183, allocations: 55.84 kB / 1.235 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.9193, allocations: 0.8097 MB / 1.236 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.9194, allocations: 41.7 kB / 1.236 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.9197, allocations: 475.3 kB / 1.237 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.9199, allocations: 173.5 kB / 1.237 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.92, allocations: 53.7 kB / 1.237 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9201, allocations: 333.9 kB / 1.237 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.9205, allocations: 249.2 kB / 1.237 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.9211, allocations: 357.3 kB / 1.238 GB, free: 3.566 MB / 0.9825 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.00384/0.9249, allocations: 1.565 MB / 1.239 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9249, allocations: 0 / 1.239 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001417/0.9264, allocations: 0.7888 MB / 1.24 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9264, allocations: 8 kB / 1.24 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9264, allocations: 4 kB / 1.24 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.9267, allocations: 101.6 kB / 1.24 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.9274, allocations: 159.7 kB / 1.24 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.9303, allocations: 3.064 MB / 1.243 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9313, allocations: 67.78 kB / 1.243 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.9314, allocations: 23.98 kB / 1.243 GB, free: 13.46 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0005182/0.9319, allocations: 300.9 kB / 1.244 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.9321, allocations: 102.8 kB / 1.244 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.9323, allocations: 92.73 kB / 1.244 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.9323, allocations: 11.98 kB / 1.244 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9323, allocations: 0 / 1.244 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/0.9334, allocations: 0.8505 MB / 1.245 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.9362, allocations: 1.803 MB / 1.246 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.9363, allocations: 4 kB / 1.246 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.9369, allocations: 144.2 kB / 1.247 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.9371, allocations: 64.81 kB / 1.247 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.9372, allocations: 16 kB / 1.247 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.9387, allocations: 1.663 MB / 1.248 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9387, allocations: 0 / 1.248 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.9403, allocations: 1.095 MB / 1.249 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.9407, allocations: 228 kB / 1.25 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9408, allocations: 16 kB / 1.25 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.9416, allocations: 69.91 kB / 1.25 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.9417, allocations: 55.8 kB / 1.25 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.9418, allocations: 27.98 kB / 1.25 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007228/0.9425, allocations: 0.5576 MB / 1.25 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9425, allocations: 0 / 1.25 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009247/0.9435, allocations: 284 kB / 1.251 GB, free: 5.691 MB / 0.9981 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.0004617/0.9439, allocations: 184.7 kB / 1.251 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.9453, allocations: 0.8118 MB / 1.252 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9453, allocations: 4 kB / 1.252 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.9459, allocations: 419.6 kB / 1.252 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.9489, allocations: 0.5788 MB / 1.252 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.9521, allocations: 2.323 MB / 1.255 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.9528, allocations: 1.084 MB / 1.256 GB, free: 160 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.953, allocations: 67.44 kB / 1.256 GB, free: 92 kB / 0.9981 GB Notification: Performance of SimCode: time 4.9e-07/0.953, allocations: 0 / 1.256 GB, free: 92 kB / 0.9981 GB Notification: Performance of Templates: time 0.5897/1.543, allocations: 21.74 MB / 1.277 GB, free: 222.8 MB / 0.9981 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=480 -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