Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, 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.001678/0.001679, allocations: 196.8 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.463/1.463, 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.603/2.603, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6712, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1719/0.8431, allocations: 168.8 MB / 1.181 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008139/0.8513, allocations: 4.333 MB / 1.186 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.8522, allocations: 19.88 kB / 1.186 GB, free: 5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.8534, allocations: 306.5 kB / 1.186 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.8563, allocations: 0.9375 MB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.8586, allocations: 0.7271 MB / 1.188 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.8609, allocations: 1.797 MB / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.8615, allocations: 426.8 kB / 1.19 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.8627, allocations: 0.5913 MB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.864, allocations: 469.2 kB / 1.191 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.8641, allocations: 28 kB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.8662, allocations: 1.005 MB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.8665, allocations: 195.3 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.8669, allocations: 306.5 kB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.8685, allocations: 1.141 MB / 1.193 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8685, allocations: 7.922 kB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8685, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8686, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001907/0.8705, allocations: 0.9467 MB / 1.194 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8705, allocations: 8.031 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.8723, allocations: 259 kB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.8733, allocations: 493.3 kB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.8736, allocations: 84.94 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.8737, allocations: 40 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.875, allocations: 0.6263 MB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.875, allocations: 0 / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.8751, allocations: 16 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.8751, allocations: 24.98 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.8766, allocations: 0.5542 MB / 1.196 GB, free: 9.93 MB / 0.9512 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.004299/0.8809, allocations: 2.272 MB / 1.199 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.882, allocations: 298.2 kB / 1.199 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.8825, allocations: 176.7 kB / 1.199 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.8826, allocations: 3.984 kB / 1.199 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8826, allocations: 42.56 kB / 1.199 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.8826, allocations: 0 / 1.199 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.00539/0.888, allocations: 1.096 MB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.8881, allocations: 81.11 kB / 1.2 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.8888, allocations: 0.5457 MB / 1.201 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.8889, allocations: 33.92 kB / 1.201 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.8892, allocations: 307.4 kB / 1.201 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.8893, allocations: 43.39 kB / 1.201 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.8894, allocations: 57.61 kB / 1.201 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.8896, allocations: 358.8 kB / 1.201 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/0.8902, allocations: 191.8 kB / 1.202 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.8909, allocations: 281.2 kB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.8921, allocations: 412.2 kB / 1.202 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8921, allocations: 0 / 1.202 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002904/0.895, allocations: 0.7418 MB / 1.203 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.8951, allocations: 8 kB / 1.203 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8951, allocations: 0 / 1.203 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.8958, allocations: 188.8 kB / 1.203 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8962, allocations: 71.89 kB / 1.203 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.9006, allocations: 2.103 MB / 1.205 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.9013, allocations: 79.55 kB / 1.205 GB, free: 152 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.9013, allocations: 15.98 kB / 1.205 GB, free: 136 kB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003226/0.9017, allocations: 185.8 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.9018, allocations: 59.44 kB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.9019, allocations: 48.03 kB / 1.206 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9019, allocations: 0 / 1.206 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9019, allocations: 3.938 kB / 1.206 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9019, allocations: 4 kB / 1.206 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.9052, allocations: 1.141 MB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9052, allocations: 4 kB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.9055, allocations: 43.89 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.906, allocations: 188.7 kB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.9061, allocations: 4 kB / 1.207 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.9095, allocations: 2.034 MB / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9095, allocations: 0 / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.9121, allocations: 0.708 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.9124, allocations: 168.4 kB / 1.21 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.9125, allocations: 4 kB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.9131, allocations: 61.7 kB / 1.21 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.9132, allocations: 8.172 kB / 1.21 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.9132, allocations: 19.98 kB / 1.21 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005096/0.9138, allocations: 398.8 kB / 1.21 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9138, allocations: 4 kB / 1.21 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007187/0.9145, allocations: 175.8 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.0004431/0.915, allocations: 196.1 kB / 1.211 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.9166, allocations: 0.5257 MB / 1.211 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9166, allocations: 384 / 1.211 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.9174, allocations: 310.6 kB / 1.212 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.9188, allocations: 286 kB / 1.212 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.9221, allocations: 1.237 MB / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.9226, allocations: 0.8624 MB / 1.214 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000489/0.9231, allocations: 108.5 kB / 1.214 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.9233, allocations: 31.44 kB / 1.214 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.9233, allocations: 0 / 1.214 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.02074/0.944, allocations: 11.84 MB / 1.226 GB, free: 11.35 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches