Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001755/0.001755, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.002305/0.002305, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.44 kB / 0.8127 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.287, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7363/1.023, allocations: 168.7 MB / 1.115 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007031/1.03, allocations: 4.265 MB / 1.119 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/1.032, allocations: 20.03 kB / 1.119 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.033, allocations: 305.2 kB / 1.119 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/1.036, allocations: 0.9389 MB / 1.12 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/1.039, allocations: 0.743 MB / 1.121 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002451/1.042, allocations: 1.293 MB / 1.122 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/1.042, allocations: 471.6 kB / 1.122 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/1.044, allocations: 0.6649 MB / 1.123 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/1.045, allocations: 485.9 kB / 1.123 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/1.046, allocations: 52.03 kB / 1.124 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/1.048, allocations: 0.9424 MB / 1.124 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/1.048, allocations: 219.2 kB / 1.125 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/1.049, allocations: 328.5 kB / 1.125 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/1.05, allocations: 0.8409 MB / 1.126 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.05, allocations: 4.438 kB / 1.126 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/1.05, allocations: 0 / 1.126 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.05, allocations: 2.094 kB / 1.126 GB, free: 5.656 MB / 0.8575 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.002224/1.053, allocations: 0.9479 MB / 1.127 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.053, allocations: 13.44 kB / 1.127 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/1.055, allocations: 264.5 kB / 1.127 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009601/1.056, allocations: 482.9 kB / 1.127 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000369/1.056, allocations: 90.31 kB / 1.128 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.056, allocations: 40.34 kB / 1.128 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.057, allocations: 0.6231 MB / 1.128 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.057, allocations: 0 / 1.128 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.058, allocations: 19.31 kB / 1.128 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/1.058, allocations: 25.08 kB / 1.128 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.059, allocations: 0.5574 MB / 1.129 GB, free: 20.63 MB / 0.8731 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.004188/1.063, allocations: 2.27 MB / 1.131 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/1.064, allocations: 296.3 kB / 1.131 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/1.065, allocations: 171.1 kB / 1.131 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.065, allocations: 11.12 kB / 1.131 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.065, allocations: 38.94 kB / 1.131 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.946e-06/1.065, allocations: 0 / 1.131 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.005189/1.07, allocations: 1.098 MB / 1.133 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/1.07, allocations: 79.98 kB / 1.133 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/1.071, allocations: 0.5566 MB / 1.133 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/1.071, allocations: 34.98 kB / 1.133 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/1.071, allocations: 308.5 kB / 1.133 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/1.071, allocations: 37.08 kB / 1.134 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.071, allocations: 61.33 kB / 1.134 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.071, allocations: 355.1 kB / 1.134 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/1.072, allocations: 196.5 kB / 1.134 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/1.073, allocations: 277.1 kB / 1.134 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.074, allocations: 419.3 kB / 1.135 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.074, allocations: 0 / 1.135 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002689/1.076, allocations: 0.7361 MB / 1.135 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.076, allocations: 5.844 kB / 1.135 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.076, allocations: 6.656 kB / 1.136 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.077, allocations: 187.7 kB / 1.136 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/1.078, allocations: 72.23 kB / 1.136 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/1.081, allocations: 2.243 MB / 1.138 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/1.082, allocations: 87.11 kB / 1.138 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.082, allocations: 13.38 kB / 1.138 GB, free: 16.78 MB / 0.8731 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.0003138/1.083, allocations: 188.3 kB / 1.138 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.083, allocations: 48.38 kB / 1.138 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/1.083, allocations: 58.86 kB / 1.138 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.083, allocations: 5.141 kB / 1.138 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.083, allocations: 0 / 1.138 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.083, allocations: 0 / 1.138 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/1.086, allocations: 1.144 MB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.086, allocations: 4.344 kB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/1.086, allocations: 39.39 kB / 1.139 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/1.087, allocations: 182 kB / 1.14 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.087, allocations: 4.625 kB / 1.14 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/1.091, allocations: 2.192 MB / 1.142 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.091, allocations: 1.25 kB / 1.142 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/1.093, allocations: 0.7093 MB / 1.142 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/1.094, allocations: 173.5 kB / 1.143 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/1.094, allocations: 3.469 kB / 1.143 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/1.094, allocations: 60.77 kB / 1.143 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/1.095, allocations: 15.77 kB / 1.143 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/1.095, allocations: 15.66 kB / 1.143 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005015/1.095, allocations: 396.6 kB / 1.143 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 1.143 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007639/1.096, allocations: 181.2 kB / 1.143 GB, free: 14.42 MB / 0.8731 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.0004342/1.096, allocations: 183 kB / 1.143 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.098, allocations: 0.5349 MB / 1.144 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.098, allocations: 1.281 kB / 1.144 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/1.099, allocations: 304.7 kB / 1.144 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.1, allocations: 306.4 kB / 1.145 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.104, allocations: 1.282 MB / 1.146 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.104, allocations: 0.863 MB / 1.147 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/1.104, allocations: 39.75 kB / 1.147 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.104, allocations: 2.391 kB / 1.147 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.01769/1.122, allocations: 11.09 MB / 1.158 GB, free: 10.58 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches