Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001787/0.001787, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_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.002097/0.002097, allocations: 70.95 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3956, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003732/0.3993, allocations: 1.962 MB / 1.287 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.4043, allocations: 3.608 MB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.4045, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.4048, allocations: 51.62 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.4053, allocations: 135.2 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.4054, allocations: 55.91 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.4057, allocations: 179.2 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4058, allocations: 17.81 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.406, allocations: 87.69 kB / 1.291 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4062, allocations: 83.5 kB / 1.291 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.4062, allocations: 8 kB / 1.291 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.4063, allocations: 39.91 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.4064, allocations: 39.84 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.4065, allocations: 75.53 kB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.4068, allocations: 175.2 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4068, allocations: 3.984 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4068, allocations: 0 / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4068, allocations: 3.938 kB / 1.291 GB, free: 4.719 MB / 0.9825 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.000931/0.4077, allocations: 453 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4078, allocations: 8.031 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.4081, allocations: 56.75 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.4086, allocations: 193.2 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4086, allocations: 4.375 kB / 1.292 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.4087, allocations: 4.375 kB / 1.292 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.409, allocations: 149.6 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4091, allocations: 3.938 kB / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.4091, allocations: 0 / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.4091, allocations: 15.98 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.4095, allocations: 131.9 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.4103, allocations: 411.6 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.4107, allocations: 166.4 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.411, allocations: 92.78 kB / 1.293 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.411, allocations: 4 kB / 1.293 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.411, allocations: 34.56 kB / 1.293 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.411, allocations: 0 / 1.293 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008458/0.4119, allocations: 276.2 kB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4119, allocations: 59.39 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.4122, allocations: 220.8 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4122, allocations: 33.7 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4123, allocations: 128 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.4124, allocations: 47.64 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.4124, allocations: 29.7 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4126, allocations: 334.7 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.4129, allocations: 67.94 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.4131, allocations: 79.94 kB / 1.294 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.4135, allocations: 153.5 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4135, allocations: 0 / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005567/0.4141, allocations: 214.7 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4141, allocations: 8 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4141, allocations: 0 / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4141, allocations: 0 / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.4144, allocations: 35.91 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4144, allocations: 4 kB / 1.294 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.4145, allocations: 19.92 kB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4145, allocations: 7.984 kB / 1.294 GB, free: 1.16 MB / 0.9825 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.0001341/0.4147, allocations: 125.8 kB / 1.294 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.4147, allocations: 23.86 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.4148, allocations: 25.77 kB / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4148, allocations: 0 / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4148, allocations: 0 / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4148, allocations: 8 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.4151, allocations: 236.5 kB / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4151, allocations: 0 / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.4153, allocations: 39.89 kB / 1.295 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4153, allocations: 4 kB / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4153, allocations: 0 / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4153, allocations: 0 / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4153, allocations: 0 / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.416, allocations: 311.2 kB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.416, allocations: 31.88 kB / 1.295 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.4161, allocations: 4 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4163, allocations: 11.98 kB / 1.295 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.4163, allocations: 19.92 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4163, allocations: 7.984 kB / 1.295 GB, free: 264 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001564/0.4165, allocations: 156.5 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4165, allocations: 4 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002815/0.4168, allocations: 39.88 kB / 1.295 GB, free: 64 kB / 0.9825 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.0001971/0.417, allocations: 107.2 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.4175, allocations: 168.9 kB / 1.296 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4175, allocations: 3.938 kB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.4177, allocations: 79.94 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.4181, allocations: 37.42 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.4191, allocations: 453.8 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.4195, allocations: 0.7396 MB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.4196, allocations: 23.42 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4196, allocations: 0 / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.004967/0.4245, allocations: 2.322 MB / 1.299 GB, free: 12.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.670925419981359]