Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001857/0.001857, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002332/0.002332, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.454/1.454, 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.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.ASHRAEHeatLoss,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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [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.001994/0.001994, allocations: 63.17 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003048/0.2987, allocations: 1.843 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.303, allocations: 3.401 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.3031, allocations: 7.938 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.3038, allocations: 170.5 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.304, allocations: 75.53 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.3041, allocations: 59.86 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3046, allocations: 267.1 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.3047, allocations: 21.73 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3048, allocations: 79.69 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3049, allocations: 79.61 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.305, allocations: 8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.305, allocations: 31.92 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.3051, allocations: 51.83 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.3052, allocations: 67.61 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3055, allocations: 203 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3055, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3055, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3055, allocations: 3.938 kB / 1.333 GB, free: 10.66 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008596/0.3063, allocations: 468.8 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.3064, allocations: 12.03 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.3068, allocations: 60.7 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3072, allocations: 205.6 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.3072, allocations: 384 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3072, allocations: 8.375 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.3076, allocations: 133.7 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3076, allocations: 3.938 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3076, allocations: 4 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3076, allocations: 15.98 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.3081, allocations: 131.9 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.3088, allocations: 368.2 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.3092, allocations: 158.4 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.3094, allocations: 92.8 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3095, allocations: 4 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3095, allocations: 34.55 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3095, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008435/0.3103, allocations: 281.6 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3104, allocations: 55.41 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3106, allocations: 253.8 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3106, allocations: 29.7 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.3107, allocations: 140 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.3108, allocations: 51.56 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.3109, allocations: 29.7 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.311, allocations: 338.8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3112, allocations: 67.94 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.3115, allocations: 71.94 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.3119, allocations: 158.4 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3119, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005572/0.3125, allocations: 209.4 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3125, allocations: 8 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3125, allocations: 0 / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3125, allocations: 0 / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3128, allocations: 43.89 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3128, allocations: 0 / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.3129, allocations: 19.88 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3129, allocations: 4 kB / 1.337 GB, free: 7.102 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 (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.0001279/0.3131, allocations: 146.3 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.3131, allocations: 23.86 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.3132, allocations: 29.77 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3132, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3132, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3132, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3135, allocations: 201.1 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3135, allocations: 0 / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.3137, allocations: 35.91 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3137, allocations: 7.984 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3137, allocations: 0 / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3137, allocations: 4 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3137, allocations: 7.984 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.3143, allocations: 311.8 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.3144, allocations: 35.78 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3144, allocations: 7.984 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3146, allocations: 15.98 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3147, allocations: 11.92 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3147, allocations: 11.98 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001641/0.3149, allocations: 177.2 kB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3149, allocations: 0 / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002814/0.3152, allocations: 39.94 kB / 1.338 GB, free: 5.996 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 (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.0001366/0.3153, allocations: 107.2 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.3158, allocations: 173.5 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3158, allocations: 0 / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.3161, allocations: 79.94 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3165, allocations: 55.2 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.3173, allocations: 455.8 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3174, allocations: 132 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.3176, allocations: 45.38 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.3177, allocations: 27.36 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3177, allocations: 4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of Templates: time 0.005972/0.3236, allocations: 2.669 MB / 1.341 GB, free: 2.285 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.393808217006153]