Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001695/0.001695, allocations: 76.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.00169/0.00169, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.505/1.505, 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 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.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.201e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2633/0.2634, allocations: 155.3 MB / 0.9625 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2756, allocations: 7.977 MB / 0.9702 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009025/0.2766, allocations: 31.75 kB / 0.9703 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.2775, allocations: 313.7 kB / 0.9706 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000872/0.2783, allocations: 330 kB / 0.9709 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2795, allocations: 431 kB / 0.9713 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.281, allocations: 1.144 MB / 0.9724 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007982/0.2818, allocations: 443.2 kB / 0.9728 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.2874, allocations: 2.253 MB / 0.975 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.288, allocations: 311 kB / 0.9753 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.2881, allocations: 40 kB / 0.9754 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2883, allocations: 87.81 kB / 0.9755 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.2889, allocations: 275.2 kB / 0.9757 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.2892, allocations: 191.5 kB / 0.9759 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.29, allocations: 0.6346 MB / 0.9765 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.29, allocations: 4 kB / 0.9765 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.062e-06/0.29, allocations: 0 / 0.9765 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.29, allocations: 0 / 0.9765 GB, free: 6.723 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001185/0.2912, allocations: 0.7542 MB / 0.9773 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2913, allocations: 8.031 kB / 0.9773 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.2915, allocations: 119.5 kB / 0.9774 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.2922, allocations: 399.2 kB / 0.9778 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.2923, allocations: 41.31 kB / 0.9778 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.2924, allocations: 59.98 kB / 0.9779 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2936, allocations: 0.6988 MB / 0.9785 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2936, allocations: 3.938 kB / 0.9785 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.2937, allocations: 27.98 kB / 0.9786 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.2937, allocations: 31.92 kB / 0.9786 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.2944, allocations: 376.4 kB / 0.979 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.2974, allocations: 2.881 MB / 0.9818 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.2977, allocations: 218.1 kB / 0.982 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.298, allocations: 128.5 kB / 0.9821 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.298, allocations: 4 kB / 0.9821 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.298, allocations: 46.5 kB / 0.9822 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 4.057e-06/0.298, allocations: 3.984 kB / 0.9822 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0007417/0.2988, allocations: 222 kB / 0.9824 GB, free: 340 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004472/0.2992, allocations: 294.7 kB / 0.9827 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.2995, allocations: 276.5 kB / 0.9829 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2996, allocations: 25.7 kB / 0.9829 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2998, allocations: 300.5 kB / 0.9832 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.2999, allocations: 40.27 kB / 0.9833 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.2999, allocations: 33.67 kB / 0.9833 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3001, allocations: 342.7 kB / 0.9836 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3003, allocations: 35.91 kB / 0.9837 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.3005, allocations: 225.6 kB / 0.9839 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3008, allocations: 129 kB / 0.984 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3008, allocations: 0 / 0.984 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003685/0.3012, allocations: 161.3 kB / 0.9842 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3012, allocations: 4 kB / 0.9842 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3012, allocations: 4 kB / 0.9842 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3012, allocations: 4.188 kB / 0.9842 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.3015, allocations: 43.89 kB / 0.9842 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3015, allocations: 4 kB / 0.9842 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3016, allocations: 19.94 kB / 0.9842 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3017, allocations: 12 kB / 0.9842 GB, free: 14.24 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.3019, allocations: 193.8 kB / 0.9844 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.3021, allocations: 35.8 kB / 0.9845 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.3022, allocations: 36.97 kB / 0.9845 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3022, allocations: 4 kB / 0.9845 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3022, allocations: 0 / 0.9845 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3022, allocations: 7.938 kB / 0.9845 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3038, allocations: 1.199 MB / 0.9857 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3038, allocations: 0 / 0.9857 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.304, allocations: 52.17 kB / 0.9857 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3041, allocations: 4 kB / 0.9857 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3041, allocations: 4 kB / 0.9857 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3041, allocations: 4 kB / 0.9857 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3041, allocations: 0 / 0.9857 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.3045, allocations: 314.8 kB / 0.986 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.3046, allocations: 31.8 kB / 0.9861 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3046, allocations: 11.98 kB / 0.9861 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3048, allocations: 4 kB / 0.9861 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3048, allocations: 15.98 kB / 0.9861 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3048, allocations: 7.938 kB / 0.9861 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002238/0.3051, allocations: 195.1 kB / 0.9863 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3051, allocations: 0 / 0.9863 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004802/0.3055, allocations: 119.5 kB / 0.9864 GB, free: 11.89 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.3058, allocations: 131 kB / 0.9865 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.3061, allocations: 104.1 kB / 0.9866 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3061, allocations: 0 / 0.9866 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3063, allocations: 67.83 kB / 0.9867 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.307, allocations: 104.3 kB / 0.9868 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3085, allocations: 0.8264 MB / 0.9876 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3089, allocations: 312.5 kB / 0.9879 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.3091, allocations: 57.89 kB / 0.988 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3091, allocations: 20.5 kB / 0.988 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.3091, allocations: 0 / 0.988 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.00875/0.3179, allocations: 3.17 MB / 0.9911 GB, free: 7.141 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.180093599949032]