Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001124/0.001124, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002664, allocations: 435.8 kB / 10.33 MB, free: 368 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.00109/0.00109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002383, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9426/0.9426, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09378/1.036, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.489/2.489, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3219/2.811, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_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.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.575e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003512/0.003537, allocations: 1.969 MB / 0.8202 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005168/0.008705, allocations: 3.693 MB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.008855, allocations: 8 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.009657, allocations: 167.1 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.009895, allocations: 75.47 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.01006, allocations: 55.86 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.01061, allocations: 271 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.01072, allocations: 18.45 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.01096, allocations: 125.5 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.01111, allocations: 67.8 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.01114, allocations: 8 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.01126, allocations: 39.84 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.01133, allocations: 51.8 kB / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.0114, allocations: 43.88 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.01166, allocations: 135.4 kB / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.861e-05/0.01168, allocations: 3.984 kB / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01168, allocations: 0 / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.0117, allocations: 4 kB / 0.8249 GB, free: 12.15 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008267/0.01253, allocations: 471 kB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.01257, allocations: 8.625 kB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.01322, allocations: 169.9 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.0135, allocations: 180.9 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.01351, allocations: 4.375 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.01353, allocations: 4.375 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.01378, allocations: 117.6 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.01379, allocations: 192 / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.0138, allocations: 8.109 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.01384, allocations: 15.92 kB / 0.8258 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.442e-05/0.01394, allocations: 23.98 kB / 0.8258 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.01443, allocations: 241.8 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.01459, allocations: 90.47 kB / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.01466, allocations: 32.83 kB / 0.8262 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.01468, allocations: 8 kB / 0.8262 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.01471, allocations: 34.5 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.01471, allocations: 0 / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002883/0.015, allocations: 97.64 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.01504, allocations: 51.41 kB / 0.8264 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01523, allocations: 225 kB / 0.8266 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.01525, allocations: 29.7 kB / 0.8266 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.01532, allocations: 112.5 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.01537, allocations: 51.62 kB / 0.8268 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.01543, allocations: 29.69 kB / 0.8268 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01556, allocations: 330.8 kB / 0.8271 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.0156, allocations: 12 kB / 0.8271 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.01565, allocations: 15.98 kB / 0.8271 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01577, allocations: 63.02 kB / 0.8272 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01577, allocations: 0 / 0.8272 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.01594, allocations: 89.58 kB / 0.8273 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.01596, allocations: 10.5 kB / 0.8273 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01597, allocations: 4 kB / 0.8273 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01598, allocations: 0 / 0.8273 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.01621, allocations: 39.91 kB / 0.8273 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01622, allocations: 0 / 0.8273 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01632, allocations: 19.88 kB / 0.8273 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.01634, allocations: 4 kB / 0.8273 GB, free: 9.438 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 (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.0001022/0.01644, allocations: 120.7 kB / 0.8275 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.01649, allocations: 19.92 kB / 0.8275 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.01654, allocations: 29.78 kB / 0.8275 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01655, allocations: 3.984 kB / 0.8275 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01655, allocations: 0 / 0.8275 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01655, allocations: 3.938 kB / 0.8275 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.01677, allocations: 125.8 kB / 0.8276 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01677, allocations: 0 / 0.8276 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.01694, allocations: 39.91 kB / 0.8277 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.01701, allocations: 31.78 kB / 0.8277 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01701, allocations: 3.938 kB / 0.8277 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.01703, allocations: 3.984 kB / 0.8277 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01703, allocations: 4 kB / 0.8277 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01703, allocations: 4 kB / 0.8277 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.01726, allocations: 179.5 kB / 0.8279 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.01729, allocations: 3.984 kB / 0.8279 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.01742, allocations: 15.94 kB / 0.8279 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.01747, allocations: 15.91 kB / 0.8279 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01749, allocations: 4 kB / 0.8279 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.159e-05/0.01758, allocations: 82.75 kB / 0.828 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01758, allocations: 0 / 0.828 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002559/0.01784, allocations: 35.95 kB / 0.828 GB, free: 8.676 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 (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.0001184/0.01795, allocations: 87.09 kB / 0.8281 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.01813, allocations: 60.14 kB / 0.8282 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.01814, allocations: 4 kB / 0.8282 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.01822, allocations: 32.84 kB / 0.8282 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.01859, allocations: 84.28 kB / 0.8283 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.0229, allocations: 411.4 kB / 0.8287 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.784e-05/0.02298, allocations: 91.77 kB / 0.8288 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.02315, allocations: 25.5 kB / 0.8288 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.02332, allocations: 87.33 kB / 0.8289 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.02332, allocations: 0 / 0.8289 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of Templates: time 0.005439/0.02876, allocations: 2.688 MB / 0.8315 GB, free: 5.129 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.504160733893514]