Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001494/0.001494, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001657/0.001657, allocations: 216.8 kB / 23.01 MB, free: 4.605 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.982/2.982, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [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.001955/0.001955, allocations: 71.14 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003031/0.307, allocations: 1.937 MB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.3114, allocations: 3.737 MB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.3115, allocations: 4 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.3122, allocations: 199.1 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.3124, allocations: 87.39 kB / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.3125, allocations: 47.88 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.3129, allocations: 279.1 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.313, allocations: 25.72 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3132, allocations: 79.7 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3133, allocations: 91.55 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3133, allocations: 8 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.3134, allocations: 23.98 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3135, allocations: 59.75 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.3136, allocations: 99.41 kB / 1.361 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3139, allocations: 199 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3139, allocations: 0 / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3139, allocations: 0 / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3139, allocations: 3.938 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008027/0.3147, allocations: 484.7 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.3147, allocations: 12.03 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/0.3156, allocations: 128.5 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.316, allocations: 202.6 kB / 1.362 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.316, allocations: 8.375 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3161, allocations: 4.375 kB / 1.362 GB, free: 152 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.3164, allocations: 161.6 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3164, allocations: 0 / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3165, allocations: 0 / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3165, allocations: 15.97 kB / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.3169, allocations: 163.8 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.3176, allocations: 443.6 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.3181, allocations: 178.5 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3183, allocations: 103.4 kB / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3184, allocations: 8.25 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3184, allocations: 38.44 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.3184, allocations: 4 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008373/0.3192, allocations: 317.3 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3193, allocations: 55.39 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3195, allocations: 260.2 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3195, allocations: 29.7 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3196, allocations: 132.1 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.3197, allocations: 47.64 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.3198, allocations: 29.66 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3199, allocations: 342.8 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3201, allocations: 83.94 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.3204, allocations: 83.86 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.3208, allocations: 183 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3208, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005439/0.3214, allocations: 229.4 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3214, allocations: 4 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3214, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3214, allocations: 4 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.3217, allocations: 47.89 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3217, allocations: 0 / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3219, allocations: 15.92 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3219, allocations: 4 kB / 1.364 GB, free: 13.09 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001644/0.3221, allocations: 146.3 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.3221, allocations: 27.81 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.3222, allocations: 29.8 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3222, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3222, allocations: 0 / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3222, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.3225, allocations: 252.5 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3225, allocations: 3.938 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3227, allocations: 35.91 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3227, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3228, allocations: 11.98 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3228, allocations: 7.938 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3228, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.3234, allocations: 347.2 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3235, allocations: 39.77 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3235, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3237, allocations: 19.98 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3238, allocations: 7.984 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3238, allocations: 7.984 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001651/0.324, allocations: 187.1 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.324, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002615/0.3242, allocations: 39.94 kB / 1.366 GB, free: 11.88 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001138/0.3243, allocations: 99.19 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3249, allocations: 194.3 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3249, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3251, allocations: 95.86 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3255, allocations: 58.61 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.3263, allocations: 0.5021 MB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3267, allocations: 0.7474 MB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3268, allocations: 23.42 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3268, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of Templates: time 0.00479/0.3316, allocations: 2.956 MB / 1.37 GB, free: 7.16 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 10.51345880900044]