Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009688/0.0009688, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.00252, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008072/0.0008072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001892, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.048/1.048, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1311/1.179, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.636/2.636, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3869/3.023, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.126e-05/4.435e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003945/0.003989, allocations: 2.144 MB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005522/0.009512, allocations: 4.203 MB / 0.8251 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.009698, allocations: 7.938 kB / 0.8251 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.0107, allocations: 194.9 kB / 0.8253 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.01087, allocations: 71.36 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.01166, allocations: 277.7 kB / 0.8257 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.01238, allocations: 394.7 kB / 0.826 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.01253, allocations: 46.38 kB / 0.8261 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.01283, allocations: 194.6 kB / 0.8263 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.01299, allocations: 99.69 kB / 0.8264 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.01302, allocations: 16 kB / 0.8264 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.01361, allocations: 339.4 kB / 0.8267 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01374, allocations: 99.7 kB / 0.8268 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.01383, allocations: 71.81 kB / 0.8269 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.01444, allocations: 434.5 kB / 0.8273 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.01445, allocations: 0 / 0.8273 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.675e-06/0.01446, allocations: 0 / 0.8273 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.01448, allocations: 0 / 0.8273 GB, free: 9.867 MB / 0.8073 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.001132/0.01561, allocations: 0.7064 MB / 0.828 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.01566, allocations: 8.031 kB / 0.828 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.01627, allocations: 209.9 kB / 0.8282 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.01706, allocations: 240 kB / 0.8284 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.01708, allocations: 16.31 kB / 0.8284 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.01711, allocations: 4.375 kB / 0.8284 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.0174, allocations: 141.6 kB / 0.8286 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01741, allocations: 192 / 0.8286 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.01743, allocations: 8.125 kB / 0.8286 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01744, allocations: 4 kB / 0.8286 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.01752, allocations: 27.98 kB / 0.8286 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.01812, allocations: 309.6 kB / 0.8289 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.01824, allocations: 85.23 kB / 0.829 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.01829, allocations: 28.84 kB / 0.829 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.01835, allocations: 12 kB / 0.829 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.01838, allocations: 34.55 kB / 0.829 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/0.01838, allocations: 4 kB / 0.8291 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002667/0.01865, allocations: 109.6 kB / 0.8292 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.01868, allocations: 55.62 kB / 0.8292 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01892, allocations: 343.4 kB / 0.8295 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01895, allocations: 29.7 kB / 0.8296 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.01902, allocations: 136.9 kB / 0.8297 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01906, allocations: 35.69 kB / 0.8297 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.01913, allocations: 53.61 kB / 0.8298 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01924, allocations: 350.7 kB / 0.8301 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.01933, allocations: 60.52 kB / 0.8302 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.0194, allocations: 71.88 kB / 0.8302 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.01953, allocations: 116.1 kB / 0.8304 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01954, allocations: 0 / 0.8304 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002259/0.01976, allocations: 195.7 kB / 0.8305 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.01983, allocations: 49.61 kB / 0.8306 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01984, allocations: 0 / 0.8306 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.01986, allocations: 4 kB / 0.8306 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.02008, allocations: 39.95 kB / 0.8306 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.02008, allocations: 4 kB / 0.8306 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.02019, allocations: 35.86 kB / 0.8307 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.0202, allocations: 7.938 kB / 0.8307 GB, free: 6.16 MB / 0.8073 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.0001017/0.02031, allocations: 120.7 kB / 0.8308 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.02035, allocations: 23.91 kB / 0.8308 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.02061, allocations: 136.9 kB / 0.8309 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.02061, allocations: 4 kB / 0.8309 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.02062, allocations: 0 / 0.8309 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02062, allocations: 7.984 kB / 0.831 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.02083, allocations: 153.8 kB / 0.8311 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02083, allocations: 0 / 0.8311 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.021, allocations: 47.88 kB / 0.8311 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.02107, allocations: 47.64 kB / 0.8312 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.02108, allocations: 0 / 0.8312 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.02109, allocations: 7.938 kB / 0.8312 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.02109, allocations: 0 / 0.8312 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.0211, allocations: 3.984 kB / 0.8312 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.02132, allocations: 234.2 kB / 0.8314 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.02135, allocations: 8 kB / 0.8314 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.02147, allocations: 15.92 kB / 0.8314 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.02153, allocations: 19.97 kB / 0.8315 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.02154, allocations: 3.984 kB / 0.8315 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001154/0.02166, allocations: 152.6 kB / 0.8316 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.02166, allocations: 0 / 0.8316 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003523/0.02201, allocations: 111.9 kB / 0.8317 GB, free: 5.023 MB / 0.8073 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.0003388/0.02235, allocations: 168.2 kB / 0.8319 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.02263, allocations: 201.8 kB / 0.8321 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.02265, allocations: 8 kB / 0.8321 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.02274, allocations: 42.03 kB / 0.8321 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.0233, allocations: 0.6463 MB / 0.8328 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.02717, allocations: 0.5653 MB / 0.8333 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.507e-05/0.02724, allocations: 99.94 kB / 0.8334 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000163/0.0274, allocations: 45.94 kB / 0.8334 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.0276, allocations: 103.3 kB / 0.8335 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of SimCode: time 1.893e-06/0.02761, allocations: 0 / 0.8335 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of Templates: time 0.00968/0.03729, allocations: 5.626 MB / 0.839 GB, free: 13.42 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.972146583721042]