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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001593/0.001593, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002113/0.002113, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.44 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1991/0.5244, allocations: 188.4 MB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009255/0.5337, allocations: 5.797 MB / 1.242 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.5353, allocations: 35.75 kB / 1.242 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5372, allocations: 0.5013 MB / 1.242 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.5421, allocations: 1.743 MB / 1.244 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.5455, allocations: 1.077 MB / 1.245 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6768/1.222, allocations: 4.087 MB / 1.249 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.224, allocations: 0.8046 MB / 1.25 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/1.225, allocations: 0.8969 MB / 1.251 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/1.227, allocations: 0.9406 MB / 1.252 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/1.227, allocations: 56.38 kB / 1.252 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/1.23, allocations: 1.638 MB / 1.253 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004962/1.231, allocations: 406.1 kB / 1.254 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007842/1.232, allocations: 0.5955 MB / 1.254 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/1.235, allocations: 2.162 MB / 1.256 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.235, allocations: 2.688 kB / 1.256 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.11e-07/1.235, allocations: 0 / 1.256 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.235, allocations: 0 / 1.256 GB, free: 4.328 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.002814/1.237, allocations: 1.516 MB / 1.258 GB, free: 19.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.237, allocations: 10.94 kB / 1.258 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/1.24, allocations: 323.6 kB / 1.258 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.241, allocations: 0.7994 MB / 1.259 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/1.241, allocations: 62.97 kB / 1.259 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.241, allocations: 90.75 kB / 1.259 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.243, allocations: 0.9127 MB / 1.26 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/1.243, allocations: 12.5 kB / 1.26 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/1.243, allocations: 37.81 kB / 1.26 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/1.243, allocations: 32.05 kB / 1.26 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.245, allocations: 0.8295 MB / 1.261 GB, free: 19.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.006636/1.251, allocations: 3.519 MB / 1.264 GB, free: 17.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.252, allocations: 0.4944 MB / 1.265 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/1.253, allocations: 295.1 kB / 1.265 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/1.253, allocations: 101.8 kB / 1.265 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.253, allocations: 47.25 kB / 1.265 GB, free: 17.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.865e-06/1.253, allocations: 0 / 1.265 GB, free: 17.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.005159/1.258, allocations: 1.921 MB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/1.258, allocations: 56.56 kB / 1.267 GB, free: 16.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.26, allocations: 0.8066 MB / 1.268 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.104e-05/1.26, allocations: 38.72 kB / 1.268 GB, free: 16.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/1.26, allocations: 474.4 kB / 1.268 GB, free: 16.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/1.261, allocations: 173.6 kB / 1.268 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.261, allocations: 113.6 kB / 1.269 GB, free: 16.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.261, allocations: 333.9 kB / 1.269 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/1.262, allocations: 247.2 kB / 1.269 GB, free: 16.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/1.262, allocations: 354.8 kB / 1.27 GB, free: 15.99 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.004379/1.267, allocations: 1.536 MB / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.267, allocations: 2.5 kB / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001591/1.268, allocations: 0.7829 MB / 1.272 GB, free: 15.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.268, allocations: 7.844 kB / 1.272 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.268, allocations: 3.438 kB / 1.272 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/1.269, allocations: 94.97 kB / 1.272 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/1.27, allocations: 140.6 kB / 1.272 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/1.273, allocations: 3.064 MB / 1.275 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.274, allocations: 59.95 kB / 1.275 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/1.274, allocations: 25.64 kB / 1.275 GB, free: 13.09 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.000622/1.275, allocations: 296.5 kB / 1.275 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.275, allocations: 100.2 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/1.275, allocations: 100 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.275, allocations: 5.219 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.275, allocations: 0 / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/1.276, allocations: 0.8474 MB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/1.28, allocations: 1.787 MB / 1.278 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.281, allocations: 4.031 kB / 1.278 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/1.281, allocations: 140.8 kB / 1.278 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/1.282, allocations: 66.48 kB / 1.278 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/1.282, allocations: 15.22 kB / 1.278 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.283, allocations: 1.65 MB / 1.28 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.283, allocations: 5.531 kB / 1.28 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.285, allocations: 1.068 MB / 1.281 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007174/1.286, allocations: 236.5 kB / 1.281 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/1.286, allocations: 19.11 kB / 1.281 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.287, allocations: 69.41 kB / 1.281 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.287, allocations: 47.06 kB / 1.281 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/1.287, allocations: 28.38 kB / 1.281 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009143/1.288, allocations: 0.5626 MB / 1.282 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.288, allocations: 0 / 1.282 GB, free: 10.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001265/1.29, allocations: 288.6 kB / 1.282 GB, free: 10.19 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.0004948/1.29, allocations: 186.8 kB / 1.282 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001515/1.292, allocations: 0.7908 MB / 1.283 GB, free: 9.867 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.292, allocations: 1.344 kB / 1.283 GB, free: 9.867 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/1.292, allocations: 420.6 kB / 1.284 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.296, allocations: 0.5858 MB / 1.284 GB, free: 9.707 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/1.299, allocations: 2.182 MB / 1.286 GB, free: 8.512 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/1.3, allocations: 1.084 MB / 1.287 GB, free: 7.797 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001111/1.301, allocations: 220.2 kB / 1.288 GB, free: 7.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/1.301, allocations: 69.25 kB / 1.288 GB, free: 7.746 MB / 1.014 GB Notification: Performance of SimCode: time 1.353e-06/1.301, allocations: 0 / 1.288 GB, free: 7.746 MB / 1.014 GB Notification: Performance of Templates: time 0.03413/1.335, allocations: 19.62 MB / 1.307 GB, free: 6.578 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