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.001625/0.001625, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001895/0.001895, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.629/2.629, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.707, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1796/0.8867, allocations: 168.7 MB / 1.182 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006361/0.8931, allocations: 4.272 MB / 1.186 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008568/0.8939, allocations: 19.88 kB / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.8951, allocations: 302.5 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.8975, allocations: 0.9375 MB / 1.187 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.8996, allocations: 0.7376 MB / 1.188 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.9012, allocations: 1.283 MB / 1.189 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.9019, allocations: 483.2 kB / 1.189 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.9031, allocations: 0.6694 MB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.9042, allocations: 485.5 kB / 1.19 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.9043, allocations: 56 kB / 1.191 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.9059, allocations: 0.9394 MB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.9061, allocations: 219.2 kB / 1.192 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.9065, allocations: 326.6 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.9079, allocations: 1.173 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9079, allocations: 0 / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.908, allocations: 3.938 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.908, allocations: 0 / 1.193 GB, free: 13.53 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.00159/0.9096, allocations: 0.9505 MB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9096, allocations: 8.031 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.9113, allocations: 263 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.9121, allocations: 489.4 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.9124, allocations: 84.92 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.9125, allocations: 43.94 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.9138, allocations: 0.6185 MB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.9138, allocations: 0 / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.9139, allocations: 23.98 kB / 1.196 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.9139, allocations: 20.94 kB / 1.196 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.9153, allocations: 0.5581 MB / 1.196 GB, free: 10.37 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.003971/0.9193, allocations: 2.276 MB / 1.198 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009572/0.9203, allocations: 298.2 kB / 1.199 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.9208, allocations: 176.6 kB / 1.199 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.9209, allocations: 3.938 kB / 1.199 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.9209, allocations: 42.56 kB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.9209, allocations: 0 / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005337/0.9263, allocations: 1.092 MB / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.9263, allocations: 85.11 kB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.927, allocations: 0.5495 MB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.9271, allocations: 29.7 kB / 1.201 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.9273, allocations: 299.7 kB / 1.201 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.9274, allocations: 51.44 kB / 1.201 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.9275, allocations: 65.53 kB / 1.201 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9276, allocations: 350.8 kB / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.9282, allocations: 195.8 kB / 1.201 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.9289, allocations: 277.2 kB / 1.202 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.93, allocations: 420.2 kB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.93, allocations: 0 / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002632/0.9327, allocations: 0.7355 MB / 1.203 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9327, allocations: 9.406 kB / 1.203 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9327, allocations: 3.984 kB / 1.203 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.9334, allocations: 188.8 kB / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.9338, allocations: 71.88 kB / 1.203 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.9378, allocations: 2.254 MB / 1.205 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.9385, allocations: 79.48 kB / 1.205 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.9386, allocations: 19.98 kB / 1.205 GB, free: 408 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.0003055/0.9389, allocations: 183.8 kB / 1.206 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.939, allocations: 51.44 kB / 1.206 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.9391, allocations: 55.97 kB / 1.206 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9391, allocations: 4 kB / 1.206 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.9392, allocations: 4 kB / 1.206 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9392, allocations: 3.984 kB / 1.206 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.9424, allocations: 1.137 MB / 1.207 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9424, allocations: 0 / 1.207 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.9427, allocations: 47.95 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.9433, allocations: 188.8 kB / 1.207 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.9433, allocations: 7.938 kB / 1.207 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.947, allocations: 2.183 MB / 1.209 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.947, allocations: 0 / 1.209 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.9496, allocations: 0.7118 MB / 1.21 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.9499, allocations: 164.5 kB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.95, allocations: 11.98 kB / 1.21 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.9507, allocations: 61.84 kB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.9508, allocations: 11.98 kB / 1.21 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.9509, allocations: 15.98 kB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005421/0.9514, allocations: 394.8 kB / 1.21 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9514, allocations: 3.938 kB / 1.21 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007801/0.9522, allocations: 183.8 kB / 1.211 GB, free: 10.75 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.0004877/0.9527, allocations: 171.8 kB / 1.211 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.9544, allocations: 0.5335 MB / 1.211 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9544, allocations: 4 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.9552, allocations: 303 kB / 1.212 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.9567, allocations: 308 kB / 1.212 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.9599, allocations: 1.241 MB / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.9604, allocations: 0.8582 MB / 1.214 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000519/0.9609, allocations: 104.5 kB / 1.214 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.961, allocations: 39.42 kB / 1.214 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.961, allocations: 7.875 kB / 1.214 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of Templates: time 0.02123/0.9823, allocations: 12.28 MB / 1.226 GB, free: 11.01 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