Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 209.8 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 69.7 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.429, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2193/0.6482, allocations: 150.9 MB / 1.474 GB, free: 9.512 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009504/0.6577, allocations: 4.024 MB / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.659, allocations: 27.81 kB / 1.478 GB, free: 5.453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6603, allocations: 330 kB / 1.479 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.6637, allocations: 1.034 MB / 1.48 GB, free: 4.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.6662, allocations: 0.8304 MB / 1.481 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.6683, allocations: 1.317 MB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.669, allocations: 391.8 kB / 1.482 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.6707, allocations: 0.7395 MB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.672, allocations: 483.9 kB / 1.483 GB, free: 344 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.6721, allocations: 52 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.6739, allocations: 0.7716 MB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.6741, allocations: 211.4 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.6745, allocations: 274.8 kB / 1.485 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.6764, allocations: 1.125 MB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6764, allocations: 0 / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6764, allocations: 0 / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6764, allocations: 0 / 1.486 GB, free: 13.91 MB / 1.186 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.001946/0.6784, allocations: 0.8974 MB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6784, allocations: 12.03 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.6802, allocations: 263.3 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6813, allocations: 438.5 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.6814, allocations: 33 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.6814, allocations: 40 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.6831, allocations: 0.8907 MB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.6831, allocations: 3.938 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.6832, allocations: 24 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/0.6832, allocations: 20.98 kB / 1.488 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6847, allocations: 0.5425 MB / 1.489 GB, free: 10.61 MB / 1.186 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.004234/0.6889, allocations: 1.791 MB / 1.491 GB, free: 8.762 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.6899, allocations: 266.4 kB / 1.491 GB, free: 8.492 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.6904, allocations: 168.7 kB / 1.491 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6905, allocations: 0 / 1.491 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.6905, allocations: 38.5 kB / 1.491 GB, free: 8.277 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.6905, allocations: 4 kB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005348/0.6958, allocations: 1.005 MB / 1.492 GB, free: 7.258 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.6959, allocations: 77.11 kB / 1.492 GB, free: 7.164 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.6965, allocations: 425.8 kB / 1.492 GB, free: 6.738 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.6966, allocations: 29.7 kB / 1.493 GB, free: 6.703 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.6968, allocations: 319.6 kB / 1.493 GB, free: 6.383 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.6969, allocations: 39.69 kB / 1.493 GB, free: 6.344 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.697, allocations: 65.59 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6972, allocations: 350.7 kB / 1.493 GB, free: 5.922 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.6978, allocations: 183.8 kB / 1.493 GB, free: 5.742 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.6985, allocations: 291 kB / 1.494 GB, free: 5.418 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6997, allocations: 417.4 kB / 1.494 GB, free: 4.98 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6997, allocations: 0 / 1.494 GB, free: 4.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002676/0.7023, allocations: 0.7258 MB / 1.495 GB, free: 4.246 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7024, allocations: 4 kB / 1.495 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7024, allocations: 4 kB / 1.495 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/0.7031, allocations: 180.8 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.7035, allocations: 75.88 kB / 1.495 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.7076, allocations: 2.081 MB / 1.497 GB, free: 1.805 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.7082, allocations: 59.86 kB / 1.497 GB, free: 1.746 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.7082, allocations: 15.98 kB / 1.497 GB, free: 1.73 MB / 1.186 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.000362/0.7086, allocations: 194.2 kB / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.7087, allocations: 39.77 kB / 1.497 GB, free: 1.492 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.7088, allocations: 43.22 kB / 1.497 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7088, allocations: 0 / 1.497 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7088, allocations: 7.938 kB / 1.497 GB, free: 1.441 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7088, allocations: 3.984 kB / 1.497 GB, free: 1.438 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7119, allocations: 0.9881 MB / 1.498 GB, free: 412 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7119, allocations: 0 / 1.498 GB, free: 412 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.7121, allocations: 43.89 kB / 1.498 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.7127, allocations: 180.8 kB / 1.499 GB, free: 184 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.7127, allocations: 8 kB / 1.499 GB, free: 176 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.7165, allocations: 2.037 MB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7165, allocations: 64 / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.7191, allocations: 0.6926 MB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.7193, allocations: 75.72 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.7194, allocations: 8 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.7199, allocations: 45.97 kB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.72, allocations: 11.98 kB / 1.501 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.7201, allocations: 20.02 kB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003913/0.7205, allocations: 303.1 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7205, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007996/0.7213, allocations: 195.5 kB / 1.502 GB, free: 12.67 MB / 1.201 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.0003568/0.7216, allocations: 157.8 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.7232, allocations: 0.5115 MB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7232, allocations: 0 / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007211/0.724, allocations: 298.9 kB / 1.503 GB, free: 11.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.725, allocations: 203.1 kB / 1.503 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.7286, allocations: 1.053 MB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.729, allocations: 260 kB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.7294, allocations: 79.23 kB / 1.504 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.7295, allocations: 35.44 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of SimCode: time 1.563e-06/0.7295, allocations: 0 / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of Templates: time 0.02072/0.7502, allocations: 10.55 MB / 1.515 GB, free: 15.65 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.997989622002933]