Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001833/0.001833, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00182/0.00182, allocations: 191.6 kB / 22.17 MB, free: 5.652 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.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004134/1.016, allocations: 2.17 MB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00605/1.022, allocations: 3.854 MB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/1.022, allocations: 4 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003587/1.022, allocations: 51.56 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005594/1.023, allocations: 139.1 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/1.023, allocations: 151.6 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000539/1.024, allocations: 306.9 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/1.024, allocations: 44.66 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/1.024, allocations: 131.5 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/1.025, allocations: 143.4 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/1.025, allocations: 20 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/1.025, allocations: 135.8 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/1.025, allocations: 63.69 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/1.025, allocations: 123.3 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005634/1.026, allocations: 338.6 kB / 1.282 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.026, allocations: 4 kB / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/1.026, allocations: 0 / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.026, allocations: 3.938 kB / 1.282 GB, free: 12.72 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001384/1.027, allocations: 0.6383 MB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.027, allocations: 12.03 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009948/1.028, allocations: 168.5 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/1.029, allocations: 328.5 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.029, allocations: 12.5 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/1.029, allocations: 11.94 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/1.03, allocations: 229.4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.03, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/1.03, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.03, allocations: 4 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.031, allocations: 279.7 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.033, allocations: 0.5824 MB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/1.033, allocations: 162.4 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/1.034, allocations: 140.7 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000961/1.035, allocations: 0.5571 MB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.035, allocations: 30.56 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.035, allocations: 0 / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001748/1.036, allocations: 485.1 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.036, allocations: 51.66 kB / 1.285 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/1.037, allocations: 272.5 kB / 1.285 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.037, allocations: 25.7 kB / 1.285 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.037, allocations: 148.1 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/1.037, allocations: 51.58 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.037, allocations: 41.69 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.037, allocations: 338.8 kB / 1.286 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/1.038, allocations: 147.9 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/1.038, allocations: 143.9 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.039, allocations: 298.8 kB / 1.286 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.039, allocations: 4 kB / 1.286 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00117/1.04, allocations: 371.2 kB / 1.287 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.04, allocations: 4 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.04, allocations: 4 kB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.04, allocations: 0 / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.041, allocations: 67.86 kB / 1.287 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.041, allocations: 11.92 kB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/1.041, allocations: 47.83 kB / 1.287 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/1.041, allocations: 4 kB / 1.287 GB, free: 6.789 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 (17): * Single equations (assignments): 17 * 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.0001519/1.041, allocations: 129.8 kB / 1.287 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/1.041, allocations: 23.86 kB / 1.287 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.043, allocations: 383.3 kB / 1.287 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.043, allocations: 0 / 1.287 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.043, allocations: 3.938 kB / 1.287 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.043, allocations: 3.938 kB / 1.287 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/1.043, allocations: 309.3 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.043, allocations: 4 kB / 1.288 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/1.044, allocations: 59.92 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.044, allocations: 0 / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.044, allocations: 7.984 kB / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.044, allocations: 4 kB / 1.288 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.044, allocations: 0 / 1.288 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.045, allocations: 458.6 kB / 1.288 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.045, allocations: 120.9 kB / 1.288 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/1.045, allocations: 0 / 1.288 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/1.045, allocations: 31.95 kB / 1.288 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/1.045, allocations: 23.97 kB / 1.288 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.045, allocations: 11.94 kB / 1.288 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001978/1.046, allocations: 183.1 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.046, allocations: 4 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003485/1.046, allocations: 71.81 kB / 1.289 GB, free: 4.902 MB / 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.0002516/1.046, allocations: 131.6 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.047, allocations: 315.6 kB / 1.289 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.047, allocations: 4 kB / 1.289 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/1.048, allocations: 155.8 kB / 1.289 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/1.048, allocations: 32.64 kB / 1.289 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.05, allocations: 0.4935 MB / 1.29 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.05, allocations: 0.7474 MB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002128/1.05, allocations: 49.39 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.05, allocations: 31.41 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.05, allocations: 0 / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.007473/1.058, allocations: 3.356 MB / 1.294 GB, free: 15.56 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.090914621949196]