Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008804/0.0008804, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008353/0.0008353, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.668/1.668, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.571e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002444/0.00248, allocations: 2.004 MB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003542/0.006021, allocations: 3.899 MB / 0.988 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.006107, allocations: 4 kB / 0.988 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.006766, allocations: 179 kB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.00685, allocations: 79.3 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.007315, allocations: 309.6 kB / 0.9885 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000449/0.007764, allocations: 394.7 kB / 0.9889 GB, free: 11.19 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.007863, allocations: 32.52 kB / 0.9889 GB, free: 11.15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.008009, allocations: 159.6 kB / 0.9891 GB, free: 11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.008121, allocations: 111.7 kB / 0.9892 GB, free: 10.89 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.008146, allocations: 16 kB / 0.9892 GB, free: 10.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.008459, allocations: 315.4 kB / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.008547, allocations: 107.7 kB / 0.9896 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.008621, allocations: 91.7 kB / 0.9897 GB, free: 10.37 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.009095, allocations: 0.5647 MB / 0.9902 GB, free: 9.801 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.009098, allocations: 4 kB / 0.9902 GB, free: 9.797 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.0091, allocations: 0 / 0.9902 GB, free: 9.797 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.009105, allocations: 0 / 0.9902 GB, free: 9.797 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008569/0.009962, allocations: 0.7002 MB / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.01, allocations: 8.031 kB / 0.9909 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.01024, allocations: 80.66 kB / 0.991 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.0106, allocations: 299.8 kB / 0.9913 GB, free: 8.656 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.01061, allocations: 8.375 kB / 0.9913 GB, free: 8.648 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.01063, allocations: 8.375 kB / 0.9913 GB, free: 8.641 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.01092, allocations: 200.7 kB / 0.9915 GB, free: 8.441 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.01093, allocations: 192 / 0.9915 GB, free: 8.441 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.01095, allocations: 12.12 kB / 0.9915 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.01095, allocations: 0 / 0.9915 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.01132, allocations: 239.8 kB / 0.9917 GB, free: 8.195 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.0119, allocations: 0.5038 MB / 0.9922 GB, free: 7.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.01214, allocations: 170.5 kB / 0.9924 GB, free: 7.484 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.01232, allocations: 125 kB / 0.9925 GB, free: 7.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.01237, allocations: 31.86 kB / 0.9925 GB, free: 7.328 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01239, allocations: 38.56 kB / 0.9926 GB, free: 7.281 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.01239, allocations: 0 / 0.9926 GB, free: 7.281 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006962/0.01308, allocations: 445.3 kB / 0.993 GB, free: 6.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.01311, allocations: 51.41 kB / 0.9931 GB, free: 6.777 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.01339, allocations: 421.9 kB / 0.9935 GB, free: 6.352 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.01341, allocations: 25.7 kB / 0.9935 GB, free: 6.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.0135, allocations: 180 kB / 0.9937 GB, free: 6.141 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.01353, allocations: 39.69 kB / 0.9937 GB, free: 6.102 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.01357, allocations: 41.69 kB / 0.9937 GB, free: 6.055 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.01367, allocations: 358.7 kB / 0.9941 GB, free: 5.695 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.01391, allocations: 205.5 kB / 0.9943 GB, free: 5.488 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.01412, allocations: 217.5 kB / 0.9945 GB, free: 5.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.01453, allocations: 356.4 kB / 0.9948 GB, free: 4.914 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01453, allocations: 0 / 0.9948 GB, free: 4.914 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005369/0.01507, allocations: 0.5083 MB / 0.9953 GB, free: 4.387 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.01511, allocations: 45.69 kB / 0.9954 GB, free: 4.336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01511, allocations: 3.984 kB / 0.9954 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01512, allocations: 0 / 0.9954 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01527, allocations: 51.89 kB / 0.9954 GB, free: 4.281 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01528, allocations: 0 / 0.9954 GB, free: 4.281 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01539, allocations: 39.84 kB / 0.9954 GB, free: 4.242 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.0154, allocations: 4 kB / 0.9955 GB, free: 4.238 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001046/0.0155, allocations: 157.8 kB / 0.9956 GB, free: 4.074 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.01554, allocations: 35.77 kB / 0.9956 GB, free: 4.039 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.01602, allocations: 345.4 kB / 0.996 GB, free: 3.699 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01603, allocations: 4 kB / 0.996 GB, free: 3.695 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01603, allocations: 4 kB / 0.996 GB, free: 3.691 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01603, allocations: 0 / 0.996 GB, free: 3.691 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.01624, allocations: 273 kB / 0.9962 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.01625, allocations: 0 / 0.9962 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01636, allocations: 43.94 kB / 0.9963 GB, free: 3.352 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01636, allocations: 0 / 0.9963 GB, free: 3.352 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.01638, allocations: 8 kB / 0.9963 GB, free: 3.344 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01638, allocations: 3.938 kB / 0.9963 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01638, allocations: 0 / 0.9963 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.01684, allocations: 431 kB / 0.9967 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.01691, allocations: 51.67 kB / 0.9967 GB, free: 2.852 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01693, allocations: 0 / 0.9967 GB, free: 2.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01705, allocations: 35.95 kB / 0.9968 GB, free: 2.816 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.01711, allocations: 15.92 kB / 0.9968 GB, free: 2.801 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01712, allocations: 7.984 kB / 0.9968 GB, free: 2.793 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001821/0.0173, allocations: 295.1 kB / 0.9971 GB, free: 2.508 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.0173, allocations: 0 / 0.9971 GB, free: 2.508 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002814/0.01758, allocations: 115.8 kB / 0.9972 GB, free: 2.395 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.0002543/0.01783, allocations: 187 kB / 0.9974 GB, free: 2.199 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.01839, allocations: 468.7 kB / 0.9978 GB, free: 1.723 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01839, allocations: 0 / 0.9978 GB, free: 1.723 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.01859, allocations: 139.9 kB / 0.998 GB, free: 1.586 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01891, allocations: 57.55 kB / 0.998 GB, free: 1.531 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.01964, allocations: 0.6508 MB / 0.9986 GB, free: 0.8477 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.01976, allocations: 187.1 kB / 0.9988 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.01983, allocations: 24.48 kB / 0.9988 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01983, allocations: 4 kB / 0.9989 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of Templates: time 0.004902/0.02473, allocations: 5.093 MB / 1.004 GB, free: 11.57 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 6.718099305406213]