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.001408/0.001408, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001557/0.001557, allocations: 189.4 kB / 17.35 MB, free: 5.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.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.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.517/2.517, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 60.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7439, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.174/0.918, allocations: 171 MB / 1.334 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006293/0.9243, allocations: 4.289 MB / 1.338 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008167/0.9251, allocations: 19.88 kB / 1.339 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.9263, allocations: 370 kB / 1.339 GB, free: 3.453 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.9289, allocations: 1.031 MB / 1.34 GB, free: 2.418 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.931, allocations: 0.8243 MB / 1.341 GB, free: 1.598 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.9326, allocations: 1.294 MB / 1.342 GB, free: 308 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.9334, allocations: 486.8 kB / 1.342 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.9347, allocations: 0.6966 MB / 1.343 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.9359, allocations: 450.1 kB / 1.344 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.9361, allocations: 52 kB / 1.344 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.9377, allocations: 0.916 MB / 1.344 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.9379, allocations: 219.3 kB / 1.345 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.9383, allocations: 326.6 kB / 1.345 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.94, allocations: 1.141 MB / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.94, allocations: 0 / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.94, allocations: 0 / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.9401, allocations: 4 kB / 1.346 GB, free: 12.03 MB / 1.076 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.00182/0.9419, allocations: 0.9671 MB / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9419, allocations: 8.922 kB / 1.347 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.9437, allocations: 271.3 kB / 1.347 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.9446, allocations: 0.4978 MB / 1.348 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.9446, allocations: 29 kB / 1.348 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.9447, allocations: 44 kB / 1.348 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.946, allocations: 0.6146 MB / 1.348 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.946, allocations: 0 / 1.348 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.9461, allocations: 16 kB / 1.348 GB, free: 9.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.9461, allocations: 17 kB / 1.348 GB, free: 9.461 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.9475, allocations: 0.5503 MB / 1.349 GB, free: 8.914 MB / 1.076 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.003999/0.9516, allocations: 2.269 MB / 1.351 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.9525, allocations: 274.4 kB / 1.351 GB, free: 6.234 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.953, allocations: 172.7 kB / 1.352 GB, free: 6.062 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.9531, allocations: 11.92 kB / 1.352 GB, free: 6.051 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.9531, allocations: 42.5 kB / 1.352 GB, free: 6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.9531, allocations: 0 / 1.352 GB, free: 6 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005252/0.9584, allocations: 1.08 MB / 1.353 GB, free: 4.891 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.9584, allocations: 85.11 kB / 1.353 GB, free: 4.789 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.9591, allocations: 0.5496 MB / 1.353 GB, free: 4.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.9591, allocations: 33.7 kB / 1.353 GB, free: 4.191 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.9593, allocations: 300.1 kB / 1.354 GB, free: 3.895 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.9594, allocations: 47.62 kB / 1.354 GB, free: 3.848 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.9595, allocations: 57.66 kB / 1.354 GB, free: 3.785 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9596, allocations: 362.7 kB / 1.354 GB, free: 3.422 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.9602, allocations: 199.8 kB / 1.354 GB, free: 3.227 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.9609, allocations: 265.3 kB / 1.355 GB, free: 2.934 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.962, allocations: 411 kB / 1.355 GB, free: 2.504 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.962, allocations: 0 / 1.355 GB, free: 2.504 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002698/0.9647, allocations: 0.7241 MB / 1.356 GB, free: 1.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9647, allocations: 8 kB / 1.356 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.9648, allocations: 4 kB / 1.356 GB, free: 1.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.9654, allocations: 188.7 kB / 1.356 GB, free: 1.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.9658, allocations: 67.89 kB / 1.356 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.9697, allocations: 2.232 MB / 1.358 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.9703, allocations: 79.64 kB / 1.358 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.9704, allocations: 15.92 kB / 1.358 GB, free: 15.04 MB / 1.092 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.0002369/0.9706, allocations: 185.8 kB / 1.358 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9708, allocations: 51.72 kB / 1.358 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.9709, allocations: 52.03 kB / 1.358 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9709, allocations: 3.938 kB / 1.359 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9709, allocations: 0 / 1.359 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.9711, allocations: 176.6 kB / 1.359 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.9712, allocations: 8 kB / 1.359 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.9718, allocations: 43.94 kB / 1.359 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.9719, allocations: 11.98 kB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002392/0.9743, allocations: 0.6264 MB / 1.359 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001719/0.976, allocations: 0.7363 MB / 1.36 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005267/0.9766, allocations: 164.2 kB / 1.36 GB, free: 12.94 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004415/0.977, allocations: 394.8 kB / 1.361 GB, free: 12.56 MB / 1.092 GB Notification: Performance of Backend: time 2.21e-07/0.977, allocations: 0 / 1.361 GB, free: 12.56 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.979, allocations: 0.6615 MB / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of SimCode: time 0.00228/0.9813, allocations: 1.554 MB / 1.363 GB, free: 10.29 MB / 1.092 GB Notification: Performance of Templates: time 0.02137/1.003, allocations: 14.1 MB / 1.377 GB, free: 12.36 MB / 1.107 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches