Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001453/0.001453, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001506/0.001506, allocations: 157.9 kB / 23.02 MB, free: 4.949 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.731/2.731, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.98/0.9821, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00285/0.985, allocations: 2.107 MB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003999/0.989, allocations: 3.927 MB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.9891, allocations: 2.875 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.9898, allocations: 181.3 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.99, allocations: 79.84 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.9907, allocations: 335 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.9912, allocations: 457.2 kB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.9914, allocations: 41.47 kB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.9915, allocations: 139.1 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.9917, allocations: 147.3 kB / 1.161 GB, free: 28.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.9917, allocations: 23.56 kB / 1.161 GB, free: 28.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.9922, allocations: 322.1 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.9923, allocations: 120.1 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.9924, allocations: 144.9 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.993, allocations: 0.5964 MB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.993, allocations: 0 / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.072e-06/0.993, allocations: 3.938 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.993, allocations: 0 / 1.162 GB, free: 28.22 MB / 1.076 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.001175/0.9942, allocations: 0.7434 MB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.9942, allocations: 11.5 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.9955, allocations: 241.7 kB / 1.163 GB, free: 27.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.9963, allocations: 343.2 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.9963, allocations: 10.38 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.9964, allocations: 17.84 kB / 1.164 GB, free: 27.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.997, allocations: 244.9 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.997, allocations: 0 / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.997, allocations: 4 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.997, allocations: 6.719 kB / 1.164 GB, free: 27.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.998, allocations: 332.4 kB / 1.164 GB, free: 27.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.9992, allocations: 0.5847 MB / 1.165 GB, free: 26.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.9997, allocations: 213.1 kB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/1, allocations: 171.4 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/1, allocations: 16.34 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1, allocations: 41.12 kB / 1.165 GB, free: 26.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/1, allocations: 4 kB / 1.165 GB, free: 26.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.001639/1.002, allocations: 0.5659 MB / 1.166 GB, free: 26.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/1.002, allocations: 54.03 kB / 1.166 GB, free: 26.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/1.002, allocations: 450.5 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.002, allocations: 32.58 kB / 1.166 GB, free: 26.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/1.002, allocations: 195.2 kB / 1.166 GB, free: 26.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/1.002, allocations: 48.88 kB / 1.166 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/1.002, allocations: 52.94 kB / 1.167 GB, free: 26.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.003, allocations: 356.2 kB / 1.167 GB, free: 25.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/1.003, allocations: 337.3 kB / 1.167 GB, free: 25.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/1.004, allocations: 330.5 kB / 1.167 GB, free: 25.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.005, allocations: 0.5255 MB / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.005, allocations: 0 / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001314/1.006, allocations: 0.7634 MB / 1.169 GB, free: 25.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/1.006, allocations: 50.38 kB / 1.169 GB, free: 25.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.006, allocations: 0 / 1.169 GB, free: 25.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.006, allocations: 2.625 kB / 1.169 GB, free: 25.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/1.007, allocations: 70.48 kB / 1.169 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.007, allocations: 0 / 1.169 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/1.007, allocations: 55.73 kB / 1.169 GB, free: 25.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/1.007, allocations: 11.02 kB / 1.169 GB, free: 25.02 MB / 1.076 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.0001342/1.007, allocations: 157.3 kB / 1.169 GB, free: 24.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/1.007, allocations: 39.5 kB / 1.169 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/1.008, allocations: 447 kB / 1.17 GB, free: 24.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.008, allocations: 3.938 kB / 1.17 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.008, allocations: 0 / 1.17 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.008, allocations: 3.516 kB / 1.17 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/1.009, allocations: 283.6 kB / 1.17 GB, free: 24.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.009, allocations: 0 / 1.17 GB, free: 24.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/1.009, allocations: 65.27 kB / 1.17 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.009, allocations: 1.062 kB / 1.17 GB, free: 24.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.009, allocations: 13.02 kB / 1.17 GB, free: 24.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.009, allocations: 0 / 1.17 GB, free: 24.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.009, allocations: 0.5312 kB / 1.17 GB, free: 24.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.01, allocations: 0.5025 MB / 1.17 GB, free: 24.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.01, allocations: 61.42 kB / 1.17 GB, free: 24.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/1.011, allocations: 8.141 kB / 1.17 GB, free: 24.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/1.011, allocations: 32.3 kB / 1.17 GB, free: 24.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/1.011, allocations: 18.11 kB / 1.171 GB, free: 24.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/1.011, allocations: 10.64 kB / 1.171 GB, free: 24.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003817/1.011, allocations: 311.2 kB / 1.171 GB, free: 24.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.011, allocations: 0 / 1.171 GB, free: 24.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005895/1.012, allocations: 130.7 kB / 1.171 GB, free: 24.07 MB / 1.076 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.0003015/1.012, allocations: 178.7 kB / 1.171 GB, free: 23.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.014, allocations: 0.6322 MB / 1.172 GB, free: 23.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.014, allocations: 0 / 1.172 GB, free: 23.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/1.014, allocations: 182.9 kB / 1.172 GB, free: 23.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/1.015, allocations: 58.75 kB / 1.172 GB, free: 23.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.016, allocations: 0.7076 MB / 1.173 GB, free: 23.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/1.017, allocations: 196.3 kB / 1.173 GB, free: 23.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002367/1.017, allocations: 65.38 kB / 1.173 GB, free: 23.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.017, allocations: 33.03 kB / 1.173 GB, free: 23.16 MB / 1.076 GB Notification: Performance of SimCode: time 7.71e-07/1.017, allocations: 0 / 1.173 GB, free: 23.16 MB / 1.076 GB Notification: Performance of Templates: time 0.015/1.032, allocations: 5.703 MB / 1.178 GB, free: 22.57 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.140615520998836]