Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001446/0.001446, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.001583/0.001583, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.398/2.398, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 72.81 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2497, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5938/0.8435, allocations: 171 MB / 1.194 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006012/0.8495, allocations: 4.269 MB / 1.198 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.8501, allocations: 26.72 kB / 1.198 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009588/0.8511, allocations: 347.5 kB / 1.198 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.8533, allocations: 0.9982 MB / 1.199 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.8553, allocations: 0.809 MB / 1.2 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.8567, allocations: 1.3 MB / 1.201 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.8573, allocations: 487.1 kB / 1.202 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.8584, allocations: 0.6749 MB / 1.202 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.8593, allocations: 453.7 kB / 1.203 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.8594, allocations: 49.91 kB / 1.203 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.8609, allocations: 0.9086 MB / 1.204 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.8612, allocations: 209.9 kB / 1.204 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.8615, allocations: 336.3 kB / 1.204 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.8628, allocations: 1.125 MB / 1.205 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8629, allocations: 0 / 1.205 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8629, allocations: 6.406 kB / 1.205 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.8629, allocations: 0 / 1.205 GB, free: 2.27 MB / 0.9044 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.001454/0.8643, allocations: 0.9364 MB / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.8644, allocations: 10.19 kB / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.866, allocations: 265.9 kB / 1.207 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/0.8668, allocations: 0.489 MB / 1.207 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.8669, allocations: 41.88 kB / 1.207 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.8669, allocations: 37.69 kB / 1.207 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.8681, allocations: 0.6144 MB / 1.208 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8681, allocations: 2.188 kB / 1.208 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.8682, allocations: 26.31 kB / 1.208 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.8682, allocations: 15.72 kB / 1.208 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.8695, allocations: 0.5529 MB / 1.208 GB, free: 272 kB / 0.9044 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.0037/0.8732, allocations: 2.259 MB / 1.211 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/0.8741, allocations: 279.1 kB / 1.211 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.8746, allocations: 168.8 kB / 1.211 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.8746, allocations: 6.438 kB / 1.211 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.8747, allocations: 40.41 kB / 1.211 GB, free: 14.15 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.8747, allocations: 0 / 1.211 GB, free: 14.15 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.004898/0.8796, allocations: 1.085 MB / 1.212 GB, free: 13.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.8796, allocations: 83.66 kB / 1.212 GB, free: 13.47 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.8802, allocations: 0.5477 MB / 1.213 GB, free: 13.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.8803, allocations: 29.02 kB / 1.213 GB, free: 13.11 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.8805, allocations: 305.6 kB / 1.213 GB, free: 12.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.8805, allocations: 39.14 kB / 1.213 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8806, allocations: 60.14 kB / 1.213 GB, free: 12.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8808, allocations: 367.4 kB / 1.213 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.8813, allocations: 181.9 kB / 1.214 GB, free: 12.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.8819, allocations: 284.7 kB / 1.214 GB, free: 12.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.883, allocations: 400.7 kB / 1.214 GB, free: 11.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.883, allocations: 2.094 kB / 1.214 GB, free: 11.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002543/0.8856, allocations: 0.7201 MB / 1.215 GB, free: 11.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8856, allocations: 15.52 kB / 1.215 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8856, allocations: 5.594 kB / 1.215 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.8862, allocations: 180.7 kB / 1.215 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.8866, allocations: 74.59 kB / 1.215 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.8904, allocations: 2.231 MB / 1.217 GB, free: 9.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.8911, allocations: 70.02 kB / 1.217 GB, free: 9.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.8911, allocations: 14.19 kB / 1.217 GB, free: 9.449 MB / 0.92 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.0002616/0.8914, allocations: 194.8 kB / 1.218 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.8915, allocations: 52.62 kB / 1.218 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.8916, allocations: 45.52 kB / 1.218 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8916, allocations: 6.625 kB / 1.218 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8916, allocations: 3.984 kB / 1.218 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8917, allocations: 0 / 1.218 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.8947, allocations: 1.134 MB / 1.219 GB, free: 8.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8947, allocations: 0 / 1.219 GB, free: 8.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.895, allocations: 35.95 kB / 1.219 GB, free: 8.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.8955, allocations: 188.7 kB / 1.219 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.8955, allocations: 3.984 kB / 1.219 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/0.899, allocations: 2.189 MB / 1.221 GB, free: 5.562 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.899, allocations: 4.406 kB / 1.221 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.9014, allocations: 0.7001 MB / 1.222 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.9017, allocations: 164.5 kB / 1.222 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.9018, allocations: 8 kB / 1.222 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.9023, allocations: 41.78 kB / 1.222 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.9024, allocations: 23.92 kB / 1.222 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.9024, allocations: 15.97 kB / 1.222 GB, free: 4.566 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004464/0.9029, allocations: 394.8 kB / 1.223 GB, free: 4.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9029, allocations: 0 / 1.223 GB, free: 4.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006149/0.9035, allocations: 179.8 kB / 1.223 GB, free: 4.008 MB / 0.92 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.0003846/0.9039, allocations: 186.4 kB / 1.223 GB, free: 3.824 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.9054, allocations: 0.5257 MB / 1.223 GB, free: 3.285 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9055, allocations: 384 / 1.223 GB, free: 3.285 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.9062, allocations: 294.6 kB / 1.224 GB, free: 2.984 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.9075, allocations: 302.6 kB / 1.224 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.9104, allocations: 1.072 MB / 1.225 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.9108, allocations: 0.8582 MB / 1.226 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.9112, allocations: 104.5 kB / 1.226 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.9113, allocations: 35.42 kB / 1.226 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.9113, allocations: 0 / 1.226 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of Templates: time 0.01909/0.9304, allocations: 12.4 MB / 1.238 GB, free: 4.332 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches