Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9798, allocations: 160.8 MB / 1.218 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003519/0.9834, allocations: 1.936 MB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.9881, allocations: 3.504 MB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.9882, allocations: 2.062 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.9885, allocations: 53.25 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.989, allocations: 132.4 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.66e-05/0.9891, allocations: 27.09 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.9894, allocations: 174.5 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.9895, allocations: 26.62 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.9897, allocations: 79.66 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.9899, allocations: 83.91 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.9899, allocations: 8.75 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.99, allocations: 23.45 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.9901, allocations: 46.64 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.9902, allocations: 74.05 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.9905, allocations: 174.7 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9905, allocations: 0 / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9905, allocations: 0 / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9905, allocations: 1.062 kB / 1.225 GB, free: 14.7 MB / 0.9356 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.0009266/0.9914, allocations: 0.494 MB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9915, allocations: 8.594 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.9915, allocations: 25.45 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.9919, allocations: 244.4 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.9919, allocations: 6.625 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.9919, allocations: 7.625 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.9923, allocations: 141.8 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9923, allocations: 0 / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.9923, allocations: 5.156 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.9923, allocations: 15.58 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.9928, allocations: 136.9 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.9935, allocations: 443.3 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.994, allocations: 155 kB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.9942, allocations: 96.72 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.9942, allocations: 2.375 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.9943, allocations: 35.81 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.9943, allocations: 0 / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007988/0.9951, allocations: 283.3 kB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9951, allocations: 52.88 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.9953, allocations: 209.5 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.9954, allocations: 26.95 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.9955, allocations: 122.9 kB / 1.227 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.9955, allocations: 45.58 kB / 1.227 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.9956, allocations: 31.3 kB / 1.227 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9957, allocations: 336.3 kB / 1.227 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.996, allocations: 69.38 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.9962, allocations: 81.14 kB / 1.228 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.9966, allocations: 153.9 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9966, allocations: 1.031 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005079/0.9971, allocations: 207 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9971, allocations: 8.531 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9971, allocations: 0.5312 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9971, allocations: 1.375 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.9974, allocations: 34.91 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9974, allocations: 1.312 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.9975, allocations: 19.97 kB / 1.228 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.9975, allocations: 10.73 kB / 1.228 GB, free: 12 MB / 0.9356 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.0001379/0.9977, allocations: 131.2 kB / 1.228 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.9977, allocations: 23.8 kB / 1.228 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.9978, allocations: 27.27 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9978, allocations: 1.312 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9978, allocations: 0 / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9978, allocations: 1.312 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.9981, allocations: 258.2 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.9981, allocations: 5.344 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.9983, allocations: 34.91 kB / 1.228 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.9983, allocations: 13.23 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.9984, allocations: 5.312 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9984, allocations: 1.312 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9984, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.9989, allocations: 309.3 kB / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.9991, allocations: 115.1 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.9991, allocations: 1.469 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.9992, allocations: 10.05 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.9993, allocations: 11.73 kB / 1.229 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.9993, allocations: 7.984 kB / 1.229 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001419/0.9995, allocations: 151 kB / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9995, allocations: 0 / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002778/0.9997, allocations: 46.33 kB / 1.229 GB, free: 11.06 MB / 0.9356 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.0001859/0.9999, allocations: 117.7 kB / 1.229 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005004/1, allocations: 156.1 kB / 1.229 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1, allocations: 4 kB / 1.229 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/1.001, allocations: 91.95 kB / 1.229 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1.001, allocations: 22.5 kB / 1.229 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/1.002, allocations: 419.6 kB / 1.23 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/1.002, allocations: 0.7231 MB / 1.231 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001408/1.002, allocations: 50.27 kB / 1.231 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/1.002, allocations: 23.48 kB / 1.231 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/1.002, allocations: 0 / 1.231 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.005141/1.008, allocations: 1.801 MB / 1.232 GB, free: 8.582 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.335736190900207]