Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001885/0.001885, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002026/0.002026, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.941/2.941, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.238e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.23/0.23, allocations: 167.3 MB / 0.9497 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007717/0.2378, allocations: 4.368 MB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.2384, allocations: 31.75 kB / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2395, allocations: 329.9 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.2423, allocations: 1.076 MB / 0.9554 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.2446, allocations: 0.8487 MB / 0.9562 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.2468, allocations: 1.329 MB / 0.9575 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.2474, allocations: 399.9 kB / 0.9579 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2492, allocations: 0.8646 MB / 0.9587 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.2505, allocations: 441.2 kB / 0.9592 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2506, allocations: 52 kB / 0.9592 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.2523, allocations: 0.7674 MB / 0.96 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.2526, allocations: 231.3 kB / 0.9602 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.253, allocations: 239.5 kB / 0.9604 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.255, allocations: 1.184 MB / 0.9616 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.255, allocations: 4 kB / 0.9616 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.255, allocations: 0 / 0.9616 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.255, allocations: 0 / 0.9616 GB, free: 8.82 MB / 0.9167 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.002074/0.2571, allocations: 1.024 MB / 0.9626 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2571, allocations: 12.03 kB / 0.9626 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.2587, allocations: 279.1 kB / 0.9628 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2598, allocations: 457.4 kB / 0.9633 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.2598, allocations: 33 kB / 0.9633 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.2599, allocations: 47.94 kB / 0.9634 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2614, allocations: 0.8504 MB / 0.9642 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2614, allocations: 0 / 0.9642 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.2615, allocations: 16 kB / 0.9642 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.2615, allocations: 21 kB / 0.9642 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2627, allocations: 399.7 kB / 0.9646 GB, free: 5.543 MB / 0.9167 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.00435/0.267, allocations: 2.078 MB / 0.9666 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.2678, allocations: 214.9 kB / 0.9668 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/0.2683, allocations: 123.6 kB / 0.967 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2683, allocations: 0 / 0.967 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.2683, allocations: 49.31 kB / 0.967 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.2683, allocations: 0 / 0.967 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.004367/0.2727, allocations: 0.7582 MB / 0.9677 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.2728, allocations: 81.11 kB / 0.9678 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.2735, allocations: 0.5103 MB / 0.9683 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.2735, allocations: 33.7 kB / 0.9684 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.2739, allocations: 378.4 kB / 0.9687 GB, free: 1.172 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.2739, allocations: 55.61 kB / 0.9688 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.2741, allocations: 71.3 kB / 0.9688 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003242/0.2744, allocations: 0.5391 MB / 0.9694 GB, free: 500 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.2749, allocations: 123.9 kB / 0.9695 GB, free: 376 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.2754, allocations: 270.5 kB / 0.9697 GB, free: 52 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.2764, allocations: 340.5 kB / 0.9701 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2764, allocations: 0 / 0.9701 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002388/0.2788, allocations: 0.5591 MB / 0.9706 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2788, allocations: 8 kB / 0.9706 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2788, allocations: 4 kB / 0.9706 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.2804, allocations: 295.5 kB / 0.9709 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2807, allocations: 59.89 kB / 0.971 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.2848, allocations: 2.453 MB / 0.9734 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.2853, allocations: 43.77 kB / 0.9734 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.2854, allocations: 15.98 kB / 0.9734 GB, free: 12.12 MB / 0.9323 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.0002941/0.2857, allocations: 212.4 kB / 0.9736 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2858, allocations: 43.77 kB / 0.9737 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.2859, allocations: 39.28 kB / 0.9737 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2859, allocations: 3.984 kB / 0.9737 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2859, allocations: 0 / 0.9737 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2859, allocations: 0 / 0.9737 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2887, allocations: 1.011 MB / 0.9747 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2887, allocations: 0 / 0.9747 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2889, allocations: 19.98 kB / 0.9747 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.2904, allocations: 299.5 kB / 0.975 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2904, allocations: 4 kB / 0.975 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.2942, allocations: 2.404 MB / 0.9773 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2942, allocations: 4 kB / 0.9773 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.2964, allocations: 0.6193 MB / 0.9779 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.2966, allocations: 75.66 kB / 0.978 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.2967, allocations: 7.922 kB / 0.978 GB, free: 7.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.2971, allocations: 34.81 kB / 0.9781 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.2972, allocations: 11.98 kB / 0.9781 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.2973, allocations: 15.98 kB / 0.9781 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004127/0.2977, allocations: 331.1 kB / 0.9784 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2977, allocations: 0 / 0.9784 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007026/0.2984, allocations: 195.6 kB / 0.9786 GB, free: 6.578 MB / 0.9323 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.00034/0.2987, allocations: 163.3 kB / 0.9787 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.3001, allocations: 0.5089 MB / 0.9792 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3001, allocations: 0 / 0.9792 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.3008, allocations: 321.9 kB / 0.9795 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3019, allocations: 211 kB / 0.9797 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.305, allocations: 0.9681 MB / 0.9807 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3053, allocations: 256 kB / 0.9809 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.3056, allocations: 75.22 kB / 0.981 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.3057, allocations: 32.5 kB / 0.981 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of SimCode: time 7.01e-07/0.3057, allocations: 0 / 0.981 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of Templates: time 0.01934/0.325, allocations: 9.75 MB / 0.9906 GB, free: 10.42 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.617255565943196]