Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_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_10_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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001778/0.001778, allocations: 192.1 kB / 16.14 MB, free: 6.648 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.605 MB / 190.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.759/2.759, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7173, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2248/0.9421, allocations: 188.4 MB / 1.201 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.9537, allocations: 5.798 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.956, allocations: 35.75 kB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.9581, allocations: 0.5014 MB / 1.207 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.9628, allocations: 1.533 MB / 1.208 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.9659, allocations: 1.07 MB / 1.209 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004013/0.9699, allocations: 3.55 MB / 1.213 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.9711, allocations: 0.7444 MB / 1.213 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.9732, allocations: 0.9063 MB / 1.214 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.9755, allocations: 0.8382 MB / 1.215 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.9758, allocations: 52 kB / 1.215 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.9796, allocations: 1.73 MB / 1.217 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006789/0.9803, allocations: 370.8 kB / 1.217 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.9816, allocations: 0.5325 MB / 1.218 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.9857, allocations: 2.049 MB / 1.22 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9857, allocations: 0 / 1.22 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.9857, allocations: 0 / 1.22 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.05e-05/0.9858, allocations: 0 / 1.22 GB, free: 1.977 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003365/0.9892, allocations: 1.437 MB / 1.221 GB, free: 500 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9892, allocations: 11.98 kB / 1.221 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.9923, allocations: 414.3 kB / 1.222 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.994, allocations: 0.7687 MB / 1.222 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.9944, allocations: 113.9 kB / 1.222 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.9946, allocations: 72 kB / 1.223 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.9967, allocations: 0.9944 MB / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.9968, allocations: 0 / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.9969, allocations: 32 kB / 1.224 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.9969, allocations: 30 kB / 1.224 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.9992, allocations: 0.8822 MB / 1.224 GB, free: 13.12 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.006908/1.006, allocations: 3.52 MB / 1.228 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.008, allocations: 0.6181 MB / 1.228 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/1.009, allocations: 338 kB / 1.229 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/1.009, allocations: 97.75 kB / 1.229 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.998e-05/1.009, allocations: 46.44 kB / 1.229 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/1.009, allocations: 0 / 1.229 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.008863/1.018, allocations: 2.41 MB / 1.231 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.018, allocations: 55.41 kB / 1.231 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.019, allocations: 0.8018 MB / 1.232 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/1.019, allocations: 37.7 kB / 1.232 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/1.02, allocations: 455.6 kB / 1.233 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.02, allocations: 141.9 kB / 1.233 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.02, allocations: 110 kB / 1.233 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.02, allocations: 326 kB / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/1.021, allocations: 308.9 kB / 1.233 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/1.022, allocations: 416.1 kB / 1.234 GB, free: 3.109 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.005567/1.027, allocations: 1.898 MB / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.027, allocations: 0 / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003558/1.031, allocations: 1.046 MB / 1.237 GB, free: 100 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.031, allocations: 4 kB / 1.237 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.031, allocations: 12.03 kB / 1.237 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/1.032, allocations: 192.6 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/1.033, allocations: 143.8 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/1.037, allocations: 2.089 MB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.038, allocations: 83.89 kB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/1.038, allocations: 20 kB / 1.239 GB, free: 13.42 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 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.0004758/1.038, allocations: 279.4 kB / 1.239 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.039, allocations: 86.97 kB / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/1.039, allocations: 100.2 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.039, allocations: 4 kB / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.039, allocations: 0 / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00293/1.042, allocations: 0.9025 MB / 1.24 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/1.047, allocations: 2.115 MB / 1.243 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.047, allocations: 8.062 kB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/1.048, allocations: 131.8 kB / 1.243 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/1.049, allocations: 184.7 kB / 1.243 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/1.049, allocations: 19.92 kB / 1.243 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/1.052, allocations: 2.038 MB / 1.245 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.052, allocations: 4 kB / 1.245 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.056, allocations: 1.432 MB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/1.057, allocations: 240 kB / 1.247 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.057, allocations: 8 kB / 1.247 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.058, allocations: 95.81 kB / 1.247 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.059, allocations: 39.83 kB / 1.247 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/1.059, allocations: 31.97 kB / 1.247 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008109/1.059, allocations: 0.5576 MB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.059, allocations: 0 / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001142/1.061, allocations: 272 kB / 1.247 GB, free: 4.547 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 (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.0005412/1.061, allocations: 206.5 kB / 1.248 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002146/1.063, allocations: 0.8022 MB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.063, allocations: 4.5 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/1.064, allocations: 459.7 kB / 1.249 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.067, allocations: 0.5332 MB / 1.249 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/1.072, allocations: 2.244 MB / 1.252 GB, free: 236 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4582/1.53, allocations: 1.04 MB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009955/1.531, allocations: 206.8 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/1.531, allocations: 65.33 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.094e-06/1.531, allocations: 0 / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03729/1.569, allocations: 19.74 MB / 1.272 GB, free: 227.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches