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.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.001421/0.001421, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001503/0.001503, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.01/3.01, allocations: 476.7 MB / 0.7706 GB, free: 4.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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|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: 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.002042/0.002042, allocations: 65.59 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 170 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004672/0.3871, allocations: 2.202 MB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006825/0.394, allocations: 3.974 MB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.3943, allocations: 11.94 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.3947, allocations: 59.48 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.3955, allocations: 119.1 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.3962, allocations: 199.5 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.3969, allocations: 330.8 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3971, allocations: 44.84 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.3975, allocations: 139.5 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.3978, allocations: 151.4 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.3979, allocations: 20 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.3983, allocations: 147.8 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3984, allocations: 59.81 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.3986, allocations: 127.2 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.3993, allocations: 366.3 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3993, allocations: 0 / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3993, allocations: 0 / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.3993, allocations: 0 / 1.292 GB, free: 3.211 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.001494/0.4008, allocations: 0.5844 MB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4008, allocations: 8.031 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.4023, allocations: 232.4 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4033, allocations: 282.6 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4033, allocations: 8.562 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.4033, allocations: 15.94 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.404, allocations: 223.5 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4041, allocations: 3.984 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4041, allocations: 8 kB / 1.293 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4041, allocations: 0 / 1.293 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.4051, allocations: 279.7 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.4065, allocations: 0.558 MB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.4071, allocations: 158.5 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.4076, allocations: 148.7 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/0.4083, allocations: 99.86 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4083, allocations: 34.56 kB / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4083, allocations: 0 / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001732/0.41, allocations: 0.4887 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.4101, allocations: 51.41 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4104, allocations: 276.6 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.4104, allocations: 25.7 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4106, allocations: 156 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.4106, allocations: 47.62 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4107, allocations: 41.69 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.4109, allocations: 342.8 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.4115, allocations: 143.9 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.412, allocations: 147.9 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.413, allocations: 294.6 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.413, allocations: 4 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001169/0.4141, allocations: 381.1 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4142, allocations: 4 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4142, allocations: 4 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4142, allocations: 0 / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.4146, allocations: 63.91 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4147, allocations: 11.92 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.415, allocations: 47.78 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.415, allocations: 15.92 kB / 1.297 GB, free: 13.92 MB / 0.9981 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.0001591/0.4152, allocations: 125.8 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.4153, allocations: 31.81 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.4165, allocations: 380 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4165, allocations: 4 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4165, allocations: 0 / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4165, allocations: 3.938 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.4169, allocations: 268.5 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4169, allocations: 0 / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.4173, allocations: 67.91 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4173, allocations: 0 / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.4174, allocations: 4 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.4174, allocations: 4 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4174, allocations: 0 / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4185, allocations: 455 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.4187, allocations: 51.72 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.4187, allocations: 4 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.4191, allocations: 35.94 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.4191, allocations: 19.97 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4192, allocations: 7.938 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002018/0.4194, allocations: 195.1 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4194, allocations: 4 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003703/0.4197, allocations: 75.83 kB / 1.298 GB, free: 12.14 MB / 0.9981 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.0002588/0.42, allocations: 135 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.4211, allocations: 315.7 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4211, allocations: 0 / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.4216, allocations: 159.8 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.422, allocations: 40.53 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4233, allocations: 0.5046 MB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.4238, allocations: 0.7514 MB / 1.3 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000222/0.424, allocations: 45.38 kB / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4241, allocations: 31.42 kB / 1.3 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.4241, allocations: 0 / 1.3 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.008538/0.4327, allocations: 3.448 MB / 1.303 GB, free: 6.691 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 -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.618275405839086]