Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001519/0.001519, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001757/0.001757, allocations: 159.9 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.409e-05/4.695e-05, allocations: 6.219 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.007104/0.007151, allocations: 2.108 MB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.01844, allocations: 3.915 MB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.01877, allocations: 3.938 kB / 1.006 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.02032, allocations: 183.1 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.02086, allocations: 87.16 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.02275, allocations: 337.8 kB / 1.007 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.02426, allocations: 466.4 kB / 1.007 GB, free: 172 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.02449, allocations: 36.91 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.02513, allocations: 191.6 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.02558, allocations: 127.6 kB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.02569, allocations: 20 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.02705, allocations: 331.4 kB / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.02732, allocations: 115.6 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.02762, allocations: 107.7 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.02936, allocations: 0.6348 MB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.02937, allocations: 0 / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.02937, allocations: 8 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.0294, allocations: 0 / 1.009 GB, free: 14.62 MB / 0.9669 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.002986/0.03239, allocations: 0.743 MB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.03244, allocations: 12.03 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/0.03645, allocations: 316.3 kB / 1.01 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.03854, allocations: 344 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.03857, allocations: 8.562 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.03864, allocations: 4.375 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.04011, allocations: 273.7 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.04013, allocations: 4 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.04018, allocations: 7.938 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.04019, allocations: 4 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.04243, allocations: 339.7 kB / 1.011 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.04553, allocations: 0.6091 MB / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.04681, allocations: 222.4 kB / 1.011 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.04798, allocations: 180.7 kB / 1.012 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.04808, allocations: 27.98 kB / 1.012 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.04813, allocations: 30.56 kB / 1.012 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.04813, allocations: 0 / 1.012 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.003854/0.05198, allocations: 0.5949 MB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.05205, allocations: 55.41 kB / 1.012 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009866/0.05303, allocations: 441.9 kB / 1.013 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.0531, allocations: 33.7 kB / 1.013 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.05335, allocations: 200.4 kB / 1.013 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/0.05344, allocations: 39.64 kB / 1.013 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.05364, allocations: 53.67 kB / 1.013 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.0539, allocations: 354.8 kB / 1.013 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.055, allocations: 345.7 kB / 1.014 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.05607, allocations: 344.3 kB / 1.014 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.05855, allocations: 0.5381 MB / 1.014 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.05855, allocations: 0 / 1.014 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003354/0.06191, allocations: 0.7832 MB / 1.015 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.06198, allocations: 41.69 kB / 1.015 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.06199, allocations: 0 / 1.015 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.062, allocations: 4 kB / 1.015 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.06254, allocations: 71.92 kB / 1.015 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.06255, allocations: 3.938 kB / 1.015 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.06303, allocations: 51.78 kB / 1.015 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.06308, allocations: 11.98 kB / 1.015 GB, free: 7.387 MB / 0.9669 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000245/0.06332, allocations: 166.3 kB / 1.016 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.06344, allocations: 39.72 kB / 1.016 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.06498, allocations: 475.6 kB / 1.016 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.06499, allocations: 7.938 kB / 1.016 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.065, allocations: 0 / 1.016 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.065, allocations: 7.938 kB / 1.016 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.06547, allocations: 285 kB / 1.016 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.06547, allocations: 0 / 1.016 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.06596, allocations: 67.91 kB / 1.016 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.06596, allocations: 0 / 1.016 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.06599, allocations: 0 / 1.016 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.06599, allocations: 4 kB / 1.016 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.066, allocations: 4 kB / 1.016 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.06743, allocations: 0.5261 MB / 1.017 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.0676, allocations: 59.67 kB / 1.017 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.06767, allocations: 4 kB / 1.017 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.06808, allocations: 31.95 kB / 1.017 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.06818, allocations: 19.97 kB / 1.017 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.06821, allocations: 11.98 kB / 1.017 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004347/0.06864, allocations: 311.1 kB / 1.017 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.06864, allocations: 0 / 1.017 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005568/0.0692, allocations: 131.8 kB / 1.017 GB, free: 5.215 MB / 0.9669 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.0005093/0.06971, allocations: 175 kB / 1.018 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.07138, allocations: 0.6451 MB / 1.018 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.07138, allocations: 0 / 1.018 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.07204, allocations: 191.8 kB / 1.018 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.07255, allocations: 57.88 kB / 1.019 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.07413, allocations: 0.6905 MB / 1.019 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.07436, allocations: 191.5 kB / 1.019 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.07467, allocations: 69.84 kB / 1.019 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.07482, allocations: 40.41 kB / 1.019 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of SimCode: time 8.61e-07/0.07482, allocations: 0 / 1.019 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of Templates: time 0.01271/0.08754, allocations: 5.786 MB / 1.025 GB, free: 13.38 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.654072865843773]