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.001328/0.001328, allocations: 114.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.001462/0.001462, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.766/2.766, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 67.91 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7725, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003327/0.7758, allocations: 2.151 MB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.7806, allocations: 3.858 MB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.7807, allocations: 3.938 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.781, allocations: 59.5 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.7813, allocations: 131.1 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.7817, allocations: 151.5 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.7821, allocations: 314.9 kB / 1.281 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.7822, allocations: 36.67 kB / 1.281 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.7824, allocations: 131.5 kB / 1.281 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.7826, allocations: 151.3 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.7827, allocations: 20 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.7829, allocations: 131.8 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.783, allocations: 63.8 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.7831, allocations: 115.3 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.7836, allocations: 346.6 kB / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7836, allocations: 0 / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7836, allocations: 0 / 1.282 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7836, allocations: 3.938 kB / 1.282 GB, free: 12.87 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.00138/0.785, allocations: 0.6422 MB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.785, allocations: 12.02 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.786, allocations: 160.6 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/0.7868, allocations: 336.4 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.7868, allocations: 12.56 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.7869, allocations: 15.94 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.7876, allocations: 221.5 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7876, allocations: 3.938 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.7876, allocations: 4 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7876, allocations: 4 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7887, allocations: 275.7 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.7901, allocations: 0.5824 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.7907, allocations: 162.4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.7913, allocations: 148.7 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.7922, allocations: 0.5532 MB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.7922, allocations: 34.56 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.7922, allocations: 0 / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001821/0.7941, allocations: 478 kB / 1.285 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.7941, allocations: 55.66 kB / 1.285 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.7944, allocations: 272.5 kB / 1.285 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.7944, allocations: 29.7 kB / 1.285 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7946, allocations: 144.1 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.7946, allocations: 55.5 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.7947, allocations: 41.69 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7949, allocations: 342.8 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.7954, allocations: 143.9 kB / 1.286 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.796, allocations: 149.7 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.7971, allocations: 292.6 kB / 1.286 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7971, allocations: 4 kB / 1.286 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001219/0.7983, allocations: 371.3 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7983, allocations: 4 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7983, allocations: 0 / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7983, allocations: 0 / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.7988, allocations: 71.86 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7988, allocations: 4 kB / 1.287 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.7991, allocations: 47.83 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.7992, allocations: 7.938 kB / 1.287 GB, free: 6.938 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.0001462/0.7993, allocations: 129.8 kB / 1.287 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.7994, allocations: 23.86 kB / 1.287 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.8007, allocations: 382.2 kB / 1.287 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.8007, allocations: 4 kB / 1.287 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.8007, allocations: 0 / 1.287 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.8007, allocations: 7.922 kB / 1.287 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.801, allocations: 301.4 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.801, allocations: 0 / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.8015, allocations: 59.92 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.8015, allocations: 0 / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.8015, allocations: 11.98 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8015, allocations: 0 / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.8015, allocations: 7.938 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.8027, allocations: 451 kB / 1.288 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8029, allocations: 120.9 kB / 1.288 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.8029, allocations: 4 kB / 1.288 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.8033, allocations: 31.95 kB / 1.288 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.8034, allocations: 19.97 kB / 1.288 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.8034, allocations: 11.92 kB / 1.288 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001929/0.8036, allocations: 195 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8036, allocations: 0 / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003802/0.804, allocations: 67.83 kB / 1.289 GB, free: 5.055 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.0002557/0.8042, allocations: 139.6 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.8054, allocations: 307.7 kB / 1.289 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8054, allocations: 0 / 1.289 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.806, allocations: 155.8 kB / 1.289 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8065, allocations: 32.58 kB / 1.289 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.8076, allocations: 0.5052 MB / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.8079, allocations: 0.7474 MB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.8082, allocations: 53.36 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.8083, allocations: 23.42 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8083, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.007589/0.8159, allocations: 3.361 MB / 1.294 GB, free: 15.7 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 gbode -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: 8.364297037012875]