Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, 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.001672/0.001672, allocations: 198.1 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 69.78 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3215, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.204/0.5255, allocations: 188.3 MB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.535, allocations: 5.806 MB / 1.242 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5363, allocations: 35.81 kB / 1.242 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.5379, allocations: 0.4935 MB / 1.242 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.5425, allocations: 1.541 MB / 1.244 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.5457, allocations: 1.078 MB / 1.245 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.669/1.215, allocations: 3.537 MB / 1.248 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/1.216, allocations: 0.749 MB / 1.249 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/1.218, allocations: 0.9091 MB / 1.25 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/1.22, allocations: 0.8318 MB / 1.251 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/1.22, allocations: 49.22 kB / 1.251 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/1.223, allocations: 1.731 MB / 1.252 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/1.223, allocations: 360.2 kB / 1.253 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006874/1.224, allocations: 0.5389 MB / 1.253 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/1.227, allocations: 2.045 MB / 1.255 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.227, allocations: 0.5156 kB / 1.255 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.227, allocations: 0 / 1.255 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.227, allocations: 4.203 kB / 1.255 GB, free: 4.121 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002834/1.23, allocations: 1.444 MB / 1.257 GB, free: 19.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.23, allocations: 9.875 kB / 1.257 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/1.233, allocations: 408.1 kB / 1.257 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.234, allocations: 0.7594 MB / 1.258 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/1.234, allocations: 112 kB / 1.258 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.235, allocations: 77.78 kB / 1.258 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.237, allocations: 0.9987 MB / 1.259 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.237, allocations: 0 / 1.259 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/1.237, allocations: 33.84 kB / 1.259 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/1.237, allocations: 34.55 kB / 1.259 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/1.239, allocations: 0.8797 MB / 1.26 GB, free: 18.88 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.007273/1.246, allocations: 3.512 MB / 1.263 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.248, allocations: 0.6176 MB / 1.264 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/1.249, allocations: 339.3 kB / 1.264 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/1.249, allocations: 106.1 kB / 1.264 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/1.249, allocations: 38.59 kB / 1.264 GB, free: 17.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 4.058e-06/1.249, allocations: 0 / 1.264 GB, free: 17.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.009648/1.259, allocations: 2.419 MB / 1.267 GB, free: 16.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.259, allocations: 56.12 kB / 1.267 GB, free: 16.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.26, allocations: 0.8001 MB / 1.268 GB, free: 16.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.26, allocations: 41.27 kB / 1.268 GB, free: 16.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/1.261, allocations: 445.6 kB / 1.268 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/1.261, allocations: 147.7 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/1.261, allocations: 108.3 kB / 1.268 GB, free: 16.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.261, allocations: 325.7 kB / 1.269 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.262, allocations: 311 kB / 1.269 GB, free: 15.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.264, allocations: 413.8 kB / 1.269 GB, free: 15.81 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.005827/1.269, allocations: 1.898 MB / 1.271 GB, free: 15.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/1.269, allocations: 1.312 kB / 1.271 GB, free: 15.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003878/1.273, allocations: 1.046 MB / 1.272 GB, free: 15.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.273, allocations: 8.688 kB / 1.272 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.273, allocations: 7.781 kB / 1.272 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/1.274, allocations: 186.9 kB / 1.272 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/1.275, allocations: 148 kB / 1.273 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/1.279, allocations: 2.082 MB / 1.275 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.281, allocations: 88.72 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/1.281, allocations: 23.5 kB / 1.275 GB, free: 14.12 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0006057/1.281, allocations: 271.4 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.282, allocations: 91.73 kB / 1.275 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/1.282, allocations: 107.4 kB / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.282, allocations: 4.812 kB / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.282, allocations: 0 / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/1.285, allocations: 0.8928 MB / 1.276 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/1.29, allocations: 2.112 MB / 1.278 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.29, allocations: 7.812 kB / 1.278 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/1.291, allocations: 126.4 kB / 1.278 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/1.292, allocations: 188.8 kB / 1.278 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/1.292, allocations: 19.34 kB / 1.278 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/1.295, allocations: 2.037 MB / 1.28 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.295, allocations: 6.531 kB / 1.28 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/1.299, allocations: 1.43 MB / 1.282 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/1.3, allocations: 236.8 kB / 1.282 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.3, allocations: 15.19 kB / 1.282 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.302, allocations: 93.09 kB / 1.282 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.302, allocations: 38.73 kB / 1.282 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/1.302, allocations: 29.39 kB / 1.282 GB, free: 11.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009761/1.303, allocations: 0.5581 MB / 1.283 GB, free: 11.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.303, allocations: 0 / 1.283 GB, free: 11.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001323/1.304, allocations: 273.1 kB / 1.283 GB, free: 11.39 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 (37): * Single equations (assignments): 36 * 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.0005653/1.305, allocations: 214.5 kB / 1.283 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002195/1.307, allocations: 0.8066 MB / 1.284 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.307, allocations: 1.625 kB / 1.284 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.308, allocations: 457.5 kB / 1.284 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.311, allocations: 0.536 MB / 1.285 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/1.316, allocations: 2.236 MB / 1.287 GB, free: 9.887 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/1.317, allocations: 1.048 MB / 1.288 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001261/1.318, allocations: 204.4 kB / 1.288 GB, free: 9.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.319, allocations: 64.39 kB / 1.288 GB, free: 9.113 MB / 1.014 GB Notification: Performance of SimCode: time 1.243e-06/1.319, allocations: 1.203 kB / 1.288 GB, free: 9.113 MB / 1.014 GB Notification: Performance of Templates: time 0.03297/1.352, allocations: 19.74 MB / 1.308 GB, free: 7.426 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches