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.001401/0.001401, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001766/0.001766, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.884/2.884, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.6562 kB / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.138e-05, allocations: 2.906 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2275/0.2276, allocations: 150.8 MB / 0.9581 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007944/0.2355, allocations: 4.032 MB / 0.962 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007451/0.2363, allocations: 27.75 kB / 0.9621 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2375, allocations: 337.8 kB / 0.9624 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.2407, allocations: 1.069 MB / 0.9634 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.2431, allocations: 0.841 MB / 0.9642 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2453, allocations: 1.344 MB / 0.9656 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.2461, allocations: 384.2 kB / 0.9659 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.2482, allocations: 0.8996 MB / 0.9668 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.2495, allocations: 432.7 kB / 0.9672 GB, free: 324 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2496, allocations: 52 kB / 0.9673 GB, free: 272 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2512, allocations: 0.7674 MB / 0.968 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.2515, allocations: 223.3 kB / 0.9682 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.2519, allocations: 231.5 kB / 0.9684 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.254, allocations: 1.176 MB / 0.9696 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.254, allocations: 0 / 0.9696 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.254, allocations: 4 kB / 0.9696 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.254, allocations: 0 / 0.9696 GB, free: 13.87 MB / 0.8855 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.002172/0.2562, allocations: 0.8858 MB / 0.9705 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2562, allocations: 8.031 kB / 0.9705 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.2582, allocations: 331 kB / 0.9708 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2592, allocations: 458.6 kB / 0.9712 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.2593, allocations: 29 kB / 0.9713 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.2594, allocations: 51.94 kB / 0.9713 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.2611, allocations: 0.8868 MB / 0.9722 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2611, allocations: 0 / 0.9722 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.2612, allocations: 31.98 kB / 0.9722 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.2612, allocations: 17 kB / 0.9722 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2629, allocations: 0.5425 MB / 0.9727 GB, free: 10.49 MB / 0.8855 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.004415/0.2673, allocations: 1.803 MB / 0.9745 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.2683, allocations: 278.3 kB / 0.9748 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.2689, allocations: 168.7 kB / 0.9749 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2689, allocations: 224 / 0.9749 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.2689, allocations: 42.5 kB / 0.975 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.2689, allocations: 0 / 0.975 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.005548/0.2745, allocations: 1.009 MB / 0.976 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.2745, allocations: 77.11 kB / 0.976 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.2752, allocations: 433.7 kB / 0.9764 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2752, allocations: 25.7 kB / 0.9765 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.2756, allocations: 311.7 kB / 0.9768 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.2757, allocations: 47.62 kB / 0.9768 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.2758, allocations: 61.64 kB / 0.9769 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2761, allocations: 350.7 kB / 0.9772 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/0.2767, allocations: 187.8 kB / 0.9774 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.2775, allocations: 298.8 kB / 0.9777 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2788, allocations: 402.3 kB / 0.9781 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2788, allocations: 4 kB / 0.9781 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003019/0.2818, allocations: 0.7242 MB / 0.9788 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2818, allocations: 11.98 kB / 0.9788 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2818, allocations: 0 / 0.9788 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.284, allocations: 380.5 kB / 0.9791 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.2844, allocations: 67.89 kB / 0.9792 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.289, allocations: 2.09 MB / 0.9812 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.2896, allocations: 63.72 kB / 0.9813 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.2897, allocations: 8 kB / 0.9813 GB, free: 1.398 MB / 0.8855 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.0003084/0.29, allocations: 193.8 kB / 0.9815 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2901, allocations: 43.77 kB / 0.9815 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2902, allocations: 47.2 kB / 0.9816 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2902, allocations: 0 / 0.9816 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2902, allocations: 0 / 0.9816 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2902, allocations: 0 / 0.9816 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.2937, allocations: 1.007 MB / 0.9826 GB, free: 52 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2937, allocations: 0 / 0.9826 GB, free: 52 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.294, allocations: 40.02 kB / 0.9826 GB, free: 12 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/0.2961, allocations: 384.4 kB / 0.983 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2961, allocations: 3.984 kB / 0.983 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.3004, allocations: 2.03 MB / 0.985 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3004, allocations: 3.938 kB / 0.985 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.3032, allocations: 0.6926 MB / 0.9856 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.3034, allocations: 91.58 kB / 0.9857 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.3035, allocations: 4 kB / 0.9857 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.3041, allocations: 46.59 kB / 0.9858 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.3041, allocations: 19.97 kB / 0.9858 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.3042, allocations: 11.98 kB / 0.9858 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003968/0.3046, allocations: 287.1 kB / 0.9861 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 4 kB / 0.9861 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007348/0.3053, allocations: 199.6 kB / 0.9863 GB, free: 12.13 MB / 0.9011 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.0003811/0.3057, allocations: 159.1 kB / 0.9864 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.3074, allocations: 0.5275 MB / 0.9869 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.3074, allocations: 0 / 0.9869 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.3082, allocations: 298.8 kB / 0.9872 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3093, allocations: 213.4 kB / 0.9874 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.3127, allocations: 1.023 MB / 0.9884 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3131, allocations: 260 kB / 0.9887 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003709/0.3134, allocations: 87.2 kB / 0.9888 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3135, allocations: 32.5 kB / 0.9888 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.3135, allocations: 0 / 0.9888 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of Templates: time 0.02009/0.3336, allocations: 9.688 MB / 0.9983 GB, free: 15.99 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 8.498235278064385]