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.001952/0.001952, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002222/0.002222, allocations: 186 kB / 20.78 MB, free: 1.547 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.6/1.6, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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 3.008/3.008, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 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.00251/0.00251, allocations: 63.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.047, allocations: 168.7 MB / 1.272 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003156/1.05, allocations: 2.183 MB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004095/1.054, allocations: 3.841 MB / 1.278 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/1.054, allocations: 2.406 kB / 1.278 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003224/1.055, allocations: 60.3 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/1.055, allocations: 126 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/1.055, allocations: 151 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/1.056, allocations: 313.4 kB / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/1.056, allocations: 34.67 kB / 1.279 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/1.056, allocations: 132.4 kB / 1.279 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/1.056, allocations: 150.3 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/1.056, allocations: 19.84 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/1.057, allocations: 139 kB / 1.279 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/1.057, allocations: 61.94 kB / 1.279 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/1.057, allocations: 120.9 kB / 1.279 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004144/1.057, allocations: 342 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.057, allocations: 0 / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.335e-06/1.057, allocations: 0.9062 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.057, allocations: 4 kB / 1.279 GB, free: 3.055 MB / 0.9981 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.001194/1.058, allocations: 0.6378 MB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.058, allocations: 14 kB / 1.28 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/1.059, allocations: 168 kB / 1.28 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/1.06, allocations: 326.4 kB / 1.281 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/1.06, allocations: 13.09 kB / 1.281 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/1.06, allocations: 19.34 kB / 1.281 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/1.061, allocations: 222 kB / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.061, allocations: 0.75 kB / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.061, allocations: 1.031 kB / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.061, allocations: 2.969 kB / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.062, allocations: 280.6 kB / 1.281 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.063, allocations: 0.5783 MB / 1.282 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/1.064, allocations: 162 kB / 1.282 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/1.064, allocations: 149.8 kB / 1.282 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/1.065, allocations: 0.5515 MB / 1.282 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.065, allocations: 36.25 kB / 1.282 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.065, allocations: 6.5 kB / 1.282 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.001646/1.067, allocations: 480 kB / 1.283 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.067, allocations: 57.28 kB / 1.283 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/1.067, allocations: 272.5 kB / 1.283 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.067, allocations: 25.7 kB / 1.283 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/1.067, allocations: 148.2 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/1.067, allocations: 44.23 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.067, allocations: 43.56 kB / 1.284 GB, free: 416 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/1.067, allocations: 343.5 kB / 1.284 GB, free: 76 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/1.068, allocations: 147.7 kB / 1.284 GB, free: 40 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/1.068, allocations: 147.2 kB / 1.284 GB, free: 4 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.07, allocations: 294.8 kB / 1.284 GB, free: 15.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.07, allocations: 0 / 1.284 GB, free: 15.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001167/1.071, allocations: 372.8 kB / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.071, allocations: 7.406 kB / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.071, allocations: 0.6094 kB / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.071, allocations: 0 / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/1.071, allocations: 70.72 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.071, allocations: 1.688 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/1.072, allocations: 50.27 kB / 1.285 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.072, allocations: 13.94 kB / 1.285 GB, free: 15.77 MB / 1.014 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.0001451/1.072, allocations: 126.2 kB / 1.285 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/1.072, allocations: 23.77 kB / 1.285 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.073, allocations: 379.6 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.073, allocations: 1.219 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.073, allocations: 0 / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.073, allocations: 5.203 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/1.073, allocations: 307.4 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.073, allocations: 0 / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/1.074, allocations: 62.95 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.074, allocations: 0 / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/1.074, allocations: 7.781 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.074, allocations: 1.594 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.074, allocations: 0.6562 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.075, allocations: 452.8 kB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.075, allocations: 121.8 kB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.075, allocations: 4.516 kB / 1.286 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/1.076, allocations: 34.42 kB / 1.286 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.076, allocations: 15.34 kB / 1.286 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.076, allocations: 13.88 kB / 1.286 GB, free: 14.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000195/1.076, allocations: 186.3 kB / 1.287 GB, free: 14.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.076, allocations: 0 / 1.287 GB, free: 14.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003675/1.076, allocations: 75.17 kB / 1.287 GB, free: 14.77 MB / 1.014 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.0002391/1.076, allocations: 135.2 kB / 1.287 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.078, allocations: 313.3 kB / 1.287 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.078, allocations: 0 / 1.287 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/1.078, allocations: 164.8 kB / 1.287 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/1.079, allocations: 35.06 kB / 1.287 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.08, allocations: 0.4994 MB / 1.288 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/1.08, allocations: 0.7456 MB / 1.288 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002338/1.08, allocations: 46.98 kB / 1.289 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.081, allocations: 27.31 kB / 1.289 GB, free: 13.51 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.081, allocations: 4 kB / 1.289 GB, free: 13.51 MB / 1.014 GB Notification: Performance of Templates: time 0.008088/1.089, allocations: 3.369 MB / 1.292 GB, free: 13.23 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.535187183879316]