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.001697/0.001697, allocations: 84.36 kB / 19.18 MB, free: 2.523 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.002252/0.002252, allocations: 165.7 kB / 22.46 MB, free: 5.355 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.513/1.513, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.879/2.879, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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.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.293e-06/1.293e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.936e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003284/0.003314, allocations: 2.005 MB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005636/0.00895, allocations: 3.888 MB / 0.9872 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.009068, allocations: 4 kB / 0.9872 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008774/0.009945, allocations: 187.1 kB / 0.9874 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.01009, allocations: 79.23 kB / 0.9874 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.01087, allocations: 310.4 kB / 0.9877 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.01155, allocations: 410.6 kB / 0.9881 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.01166, allocations: 28.58 kB / 0.9882 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.0119, allocations: 155.5 kB / 0.9883 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.01208, allocations: 99.73 kB / 0.9884 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.01212, allocations: 23.94 kB / 0.9884 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.01269, allocations: 311.5 kB / 0.9887 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.01282, allocations: 103.7 kB / 0.9888 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.01296, allocations: 91.7 kB / 0.9889 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.01375, allocations: 0.5802 MB / 0.9895 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01376, allocations: 0 / 0.9895 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01376, allocations: 0 / 0.9895 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01376, allocations: 0 / 0.9895 GB, free: 3.672 MB / 0.9356 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.001404/0.01517, allocations: 0.6886 MB / 0.9901 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.0152, allocations: 12.02 kB / 0.9902 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004934/0.0157, allocations: 84.66 kB / 0.9902 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.01631, allocations: 295.8 kB / 0.9905 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.01632, allocations: 4.375 kB / 0.9905 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.01635, allocations: 8.375 kB / 0.9905 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.01692, allocations: 202 kB / 0.9907 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01693, allocations: 4.172 kB / 0.9907 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.01695, allocations: 4.125 kB / 0.9907 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.01696, allocations: 4 kB / 0.9907 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.01775, allocations: 246.4 kB / 0.991 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.01875, allocations: 0.4999 MB / 0.9915 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.01923, allocations: 170.5 kB / 0.9916 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.01965, allocations: 128.8 kB / 0.9917 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.0197, allocations: 23.98 kB / 0.9918 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.01974, allocations: 38.5 kB / 0.9918 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.01974, allocations: 8 kB / 0.9918 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001443/0.02118, allocations: 437.5 kB / 0.9922 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.02122, allocations: 59.34 kB / 0.9923 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.0217, allocations: 417.9 kB / 0.9927 GB, free: 240 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.02173, allocations: 25.7 kB / 0.9927 GB, free: 208 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.02188, allocations: 188 kB / 0.9929 GB, free: 16 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.02194, allocations: 35.84 kB / 0.9929 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.02203, allocations: 37.69 kB / 0.993 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.0222, allocations: 354.7 kB / 0.9933 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.0227, allocations: 213.6 kB / 0.9935 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.02318, allocations: 205.6 kB / 0.9937 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.0241, allocations: 364.1 kB / 0.994 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0241, allocations: 0 / 0.994 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001162/0.02527, allocations: 0.5122 MB / 0.9945 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.02531, allocations: 41.69 kB / 0.9946 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02532, allocations: 4 kB / 0.9946 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.02533, allocations: 0 / 0.9946 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02567, allocations: 47.94 kB / 0.9946 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.02568, allocations: 0 / 0.9946 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.02595, allocations: 39.86 kB / 0.9947 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.02598, allocations: 11.92 kB / 0.9947 GB, free: 14.11 MB / 0.9512 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.0001792/0.02616, allocations: 157.8 kB / 0.9948 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.02623, allocations: 35.77 kB / 0.9949 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.02725, allocations: 344.7 kB / 0.9952 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.02726, allocations: 0 / 0.9952 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.02726, allocations: 3.984 kB / 0.9952 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.02727, allocations: 4 kB / 0.9952 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.02762, allocations: 265.1 kB / 0.9955 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.02762, allocations: 0 / 0.9955 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.02793, allocations: 47.89 kB / 0.9955 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02793, allocations: 0 / 0.9955 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.02795, allocations: 7.984 kB / 0.9955 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.02795, allocations: 3.984 kB / 0.9955 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02796, allocations: 0 / 0.9955 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.02896, allocations: 427.7 kB / 0.9959 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.02908, allocations: 55.67 kB / 0.996 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.02913, allocations: 0 / 0.996 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.02942, allocations: 31.97 kB / 0.996 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.0295, allocations: 15.97 kB / 0.996 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.02951, allocations: 7.984 kB / 0.996 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003301/0.02984, allocations: 295.1 kB / 0.9963 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.02984, allocations: 3.938 kB / 0.9963 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004908/0.03034, allocations: 119.8 kB / 0.9964 GB, free: 12.27 MB / 0.9512 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.0004532/0.03079, allocations: 187 kB / 0.9966 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.03196, allocations: 464.9 kB / 0.997 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.03197, allocations: 0 / 0.997 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.03243, allocations: 139.8 kB / 0.9972 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.03297, allocations: 63.55 kB / 0.9972 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.03415, allocations: 0.617 MB / 0.9978 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.03435, allocations: 187.2 kB / 0.998 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.03453, allocations: 49.84 kB / 0.9981 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.03463, allocations: 28.48 kB / 0.9981 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.03463, allocations: 0 / 0.9981 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.01087/0.0455, allocations: 5.082 MB / 1.003 GB, free: 5.496 MB / 0.9512 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: 8.296609293669462]