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.001651/0.001651, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001749/0.001749, allocations: 215.4 kB / 23 MB, free: 4.969 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002085/0.002085, allocations: 67.45 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, 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.1947/0.562, allocations: 150.9 MB / 1.474 GB, free: 9.527 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007221/0.5692, allocations: 4.031 MB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.5701, allocations: 23.81 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.5712, allocations: 334 kB / 1.479 GB, free: 5.137 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.5741, allocations: 1.038 MB / 1.48 GB, free: 4.094 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.5764, allocations: 0.8387 MB / 1.481 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5784, allocations: 1.313 MB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.5791, allocations: 387.9 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.5807, allocations: 0.7434 MB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.582, allocations: 478 kB / 1.483 GB, free: 352 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.5821, allocations: 52 kB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.5837, allocations: 0.7678 MB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.584, allocations: 219.4 kB / 1.484 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.5843, allocations: 274.8 kB / 1.485 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.5862, allocations: 1.125 MB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5862, allocations: 4 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5862, allocations: 0 / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.5862, 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.001901/0.5881, allocations: 0.8935 MB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5881, allocations: 8.031 kB / 1.487 GB, free: 12.97 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.5899, allocations: 263.3 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5909, allocations: 442.5 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.591, allocations: 33 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.5911, allocations: 43.98 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5926, allocations: 0.8829 MB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5926, allocations: 11.94 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.5927, allocations: 20 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.5927, allocations: 17 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5942, allocations: 0.5464 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.004085/0.5982, allocations: 1.783 MB / 1.491 GB, free: 8.773 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009273/0.5992, allocations: 274.3 kB / 1.491 GB, free: 8.496 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.5997, allocations: 164.7 kB / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.5997, allocations: 0 / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.5998, allocations: 46.5 kB / 1.491 GB, free: 8.277 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 3.436e-06/0.5998, allocations: 3.984 kB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005354/0.6051, allocations: 1.001 MB / 1.492 GB, free: 7.262 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.6052, allocations: 77.11 kB / 1.492 GB, free: 7.168 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.6058, allocations: 426 kB / 1.492 GB, free: 6.742 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.6058, allocations: 29.7 kB / 1.493 GB, free: 6.707 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.6061, allocations: 327.6 kB / 1.493 GB, free: 6.379 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.6061, allocations: 43.62 kB / 1.493 GB, free: 6.336 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.6063, allocations: 57.66 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6065, allocations: 354.7 kB / 1.493 GB, free: 5.918 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.6071, allocations: 187.8 kB / 1.493 GB, free: 5.734 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.6078, allocations: 295 kB / 1.494 GB, free: 5.406 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.6089, allocations: 405.5 kB / 1.494 GB, free: 4.98 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6089, allocations: 0 / 1.494 GB, free: 4.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002809/0.6117, allocations: 0.7182 MB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6117, allocations: 8 kB / 1.495 GB, free: 4.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6117, allocations: 0 / 1.495 GB, free: 4.246 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/0.6124, allocations: 184.8 kB / 1.495 GB, free: 4.062 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.6128, allocations: 75.88 kB / 1.495 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.617, allocations: 2.077 MB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.6176, allocations: 59.73 kB / 1.497 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.6177, allocations: 16 kB / 1.497 GB, free: 1.738 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.000341/0.618, allocations: 194.2 kB / 1.497 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6181, allocations: 39.77 kB / 1.497 GB, free: 1.5 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.466e-05/0.6182, allocations: 43.22 kB / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6182, allocations: 0 / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6182, allocations: 0 / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.6184, allocations: 79.64 kB / 1.498 GB, free: 1.379 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.6185, allocations: 4 kB / 1.498 GB, free: 1.375 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.6191, allocations: 53.77 kB / 1.498 GB, free: 1.324 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.6191, allocations: 7.984 kB / 1.498 GB, free: 1.316 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002448/0.6216, allocations: 0.63 MB / 1.498 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001775/0.6234, allocations: 0.7286 MB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005232/0.6239, allocations: 151.9 kB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003583/0.6242, allocations: 295.1 kB / 1.499 GB, free: 15.49 MB / 1.201 GB Notification: Performance of Backend: time 6.51e-07/0.6242, allocations: 0 / 1.499 GB, free: 15.49 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.6263, allocations: 0.6155 MB / 1.5 GB, free: 14.86 MB / 1.201 GB Notification: Performance of SimCode: time 0.002267/0.6286, allocations: 1.433 MB / 1.501 GB, free: 13.38 MB / 1.201 GB Notification: Performance of Templates: time 0.02169/0.6503, allocations: 12.57 MB / 1.514 GB, free: 0.9883 MB / 1.201 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 -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.366425615997287]