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 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.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.001234/0.001234, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001257/0.001257, allocations: 189.3 kB / 16.25 MB, free: 6.637 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7449 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.95 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3539, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9628/1.317, allocations: 188.1 MB / 1.251 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009798/1.327, allocations: 5.689 MB / 1.257 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/1.329, allocations: 36.47 kB / 1.257 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.33, allocations: 0.5114 MB / 1.258 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/1.335, allocations: 1.527 MB / 1.259 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/1.339, allocations: 1.103 MB / 1.26 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004758/1.344, allocations: 2.558 MB / 1.263 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/1.346, allocations: 0.863 MB / 1.263 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/1.349, allocations: 1.042 MB / 1.264 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/1.351, allocations: 0.8674 MB / 1.265 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/1.351, allocations: 97.12 kB / 1.265 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/1.355, allocations: 1.606 MB / 1.267 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/1.355, allocations: 409.8 kB / 1.267 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009018/1.356, allocations: 0.5888 MB / 1.268 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/1.36, allocations: 2.087 MB / 1.27 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.36, allocations: 1.219 kB / 1.27 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.36, allocations: 1.062 kB / 1.27 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.36, allocations: 0 / 1.27 GB, free: 5.73 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.003079/1.364, allocations: 1.435 MB / 1.271 GB, free: 20.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.364, allocations: 10.09 kB / 1.271 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/1.366, allocations: 416.1 kB / 1.272 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.368, allocations: 0.7613 MB / 1.273 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/1.368, allocations: 112.7 kB / 1.273 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/1.369, allocations: 73.73 kB / 1.273 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/1.371, allocations: 1.002 MB / 1.274 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/1.371, allocations: 0.7812 kB / 1.274 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/1.371, allocations: 34.08 kB / 1.274 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/1.371, allocations: 30.39 kB / 1.274 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.373, allocations: 0.8804 MB / 1.275 GB, free: 20.5 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.007349/1.381, allocations: 3.499 MB / 1.278 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.382, allocations: 0.6299 MB / 1.279 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/1.383, allocations: 339.7 kB / 1.279 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/1.383, allocations: 101 kB / 1.279 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.383, allocations: 46.38 kB / 1.279 GB, free: 19.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/1.383, allocations: 0 / 1.279 GB, free: 19.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008386/1.392, allocations: 2.42 MB / 1.281 GB, free: 18.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.392, allocations: 55.41 kB / 1.282 GB, free: 18.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.393, allocations: 0.7976 MB / 1.282 GB, free: 18.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/1.393, allocations: 36.61 kB / 1.282 GB, free: 18.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/1.393, allocations: 445.7 kB / 1.283 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.393, allocations: 148 kB / 1.283 GB, free: 17.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/1.394, allocations: 106.2 kB / 1.283 GB, free: 17.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.394, allocations: 329.4 kB / 1.283 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/1.394, allocations: 308 kB / 1.284 GB, free: 17.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/1.395, allocations: 414 kB / 1.284 GB, free: 17.55 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.005145/1.4, allocations: 1.91 MB / 1.286 GB, free: 17.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.4, allocations: 5.938 kB / 1.286 GB, free: 17.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004039/1.404, allocations: 1.041 MB / 1.287 GB, free: 17.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.404, allocations: 5.656 kB / 1.287 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.404, allocations: 4.516 kB / 1.287 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/1.405, allocations: 187.6 kB / 1.287 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/1.406, allocations: 148.8 kB / 1.287 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/1.41, allocations: 2.244 MB / 1.289 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.411, allocations: 88.69 kB / 1.29 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/1.411, allocations: 22.75 kB / 1.29 GB, free: 15.81 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.000675/1.412, allocations: 283 kB / 1.29 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.412, allocations: 87.59 kB / 1.29 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/1.412, allocations: 98.14 kB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/1.412, allocations: 3.75 kB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.412, allocations: 2.125 kB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/1.415, allocations: 0.904 MB / 1.291 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/1.421, allocations: 2.122 MB / 1.293 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.421, allocations: 3.594 kB / 1.293 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.422, allocations: 127.3 kB / 1.293 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/1.422, allocations: 193.2 kB / 1.293 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/1.422, allocations: 17.28 kB / 1.293 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/1.426, allocations: 2.188 MB / 1.295 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/1.426, allocations: 6.812 kB / 1.295 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/1.431, allocations: 1.425 MB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.432, allocations: 235.9 kB / 1.297 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/1.433, allocations: 10.62 kB / 1.297 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.434, allocations: 92.84 kB / 1.297 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.434, allocations: 42.95 kB / 1.297 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.434, allocations: 25.42 kB / 1.297 GB, free: 13.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001219/1.435, allocations: 0.5591 MB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.435, allocations: 1 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001614/1.437, allocations: 272.6 kB / 1.298 GB, free: 12.98 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.0007116/1.438, allocations: 214.8 kB / 1.298 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002912/1.441, allocations: 0.8409 MB / 1.299 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.441, allocations: 1.375 kB / 1.299 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.442, allocations: 469 kB / 1.299 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.446, allocations: 0.5492 MB / 1.3 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/1.452, allocations: 2.248 MB / 1.302 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.454, allocations: 1.041 MB / 1.303 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001608/1.455, allocations: 202.9 kB / 1.303 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.455, allocations: 69.64 kB / 1.303 GB, free: 10.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.456, allocations: 0 / 1.303 GB, free: 10.61 MB / 1.014 GB Notification: Performance of Templates: time 0.04804/1.504, allocations: 20.51 MB / 1.323 GB, free: 6.883 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