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.001762/0.001762, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002198/0.002198, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 65.88 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003607/0.3014, allocations: 2.01 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005456/0.3069, allocations: 3.907 MB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.307, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007892/0.3078, allocations: 177.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3079, allocations: 71.42 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.3086, allocations: 311.2 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.3092, allocations: 390.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3093, allocations: 32.56 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3095, allocations: 123.5 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3097, allocations: 127.5 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.3097, allocations: 20 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.3102, allocations: 323.5 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3104, allocations: 107.6 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3105, allocations: 119.3 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.3111, allocations: 0.5292 MB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3111, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3111, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3111, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 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.001452/0.3126, allocations: 0.708 MB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3126, allocations: 8.031 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.3131, allocations: 84.61 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.3137, allocations: 296.7 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3138, allocations: 4.375 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3138, allocations: 12.31 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.3143, allocations: 201.6 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3144, allocations: 0 / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3144, allocations: 0 / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3144, allocations: 4 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.3151, allocations: 243.8 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3161, allocations: 0.4961 MB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.3166, allocations: 178.4 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.317, allocations: 125 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.317, allocations: 23.92 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.317, allocations: 30.56 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.3171, allocations: 8 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.00132/0.3184, allocations: 441.2 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3184, allocations: 55.41 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.3189, allocations: 413.9 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.3189, allocations: 29.7 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3191, allocations: 187.9 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3191, allocations: 35.69 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3192, allocations: 41.69 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3194, allocations: 350.7 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.3199, allocations: 217.5 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.3203, allocations: 213.6 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.3211, allocations: 361.3 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3211, allocations: 4 kB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001047/0.3222, allocations: 0.5122 MB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.3222, allocations: 45.69 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3222, allocations: 0 / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3222, allocations: 0 / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.3226, allocations: 43.95 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3226, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.3228, allocations: 39.84 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3229, allocations: 15.94 kB / 1.34 GB, free: 3.172 MB / 1.029 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.0001957/0.3231, allocations: 154.3 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3232, allocations: 43.7 kB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.3241, allocations: 340.7 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3241, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3241, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3241, allocations: 7.984 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.3245, allocations: 261.1 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3245, allocations: 0 / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.3248, allocations: 51.88 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3248, allocations: 0 / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3248, allocations: 3.984 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3248, allocations: 0 / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3248, allocations: 4 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.3257, allocations: 431.7 kB / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3259, allocations: 59.62 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.3259, allocations: 0 / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.3262, allocations: 35.95 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3263, allocations: 15.92 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3263, allocations: 3.984 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003262/0.3266, allocations: 295.1 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004782/0.3271, allocations: 123.7 kB / 1.342 GB, free: 1.32 MB / 1.029 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.0003426/0.3274, allocations: 175 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.3285, allocations: 464.9 kB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3285, allocations: 0 / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3289, allocations: 144 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.3294, allocations: 57.62 kB / 1.343 GB, free: 480 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3305, allocations: 0.6356 MB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3307, allocations: 187.2 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.3309, allocations: 49.89 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.331, allocations: 27.42 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.331, allocations: 0 / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of Templates: time 0.01052/0.3415, allocations: 5.561 MB / 1.349 GB, free: 10.05 MB / 1.045 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 -s gbode -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/jenkins1/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.510703724008636]