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.001539/0.001539, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001488/0.001488, allocations: 209 kB / 23.01 MB, free: 4.566 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] 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.002066/0.002066, allocations: 70.86 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00374/0.3458, allocations: 2.203 MB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.3511, allocations: 3.978 MB / 1.291 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3512, allocations: 3.938 kB / 1.291 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3515, allocations: 59.55 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.3519, allocations: 123.1 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3523, allocations: 199.4 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.3528, allocations: 330.8 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3529, allocations: 40.8 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.3532, allocations: 151.4 kB / 1.292 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.3534, allocations: 147.4 kB / 1.292 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.3535, allocations: 20 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.3538, allocations: 143.8 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3538, allocations: 59.81 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.354, allocations: 123.3 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.3545, allocations: 366.4 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3545, allocations: 0 / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3545, allocations: 0 / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3545, allocations: 0 / 1.292 GB, free: 3.277 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.001313/0.3558, allocations: 0.5785 MB / 1.293 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3558, allocations: 12.03 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3572, allocations: 232.4 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.3581, allocations: 282.6 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3581, allocations: 8.562 kB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.3581, allocations: 19.88 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.3588, allocations: 217.5 kB / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3588, allocations: 4 kB / 1.294 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.3588, allocations: 8 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3588, allocations: 0 / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.3598, allocations: 283.6 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3612, allocations: 0.5503 MB / 1.294 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.3617, allocations: 166.4 kB / 1.295 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.3622, allocations: 152.7 kB / 1.295 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.3629, allocations: 95.86 kB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3629, allocations: 38.56 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3629, allocations: 4 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001633/0.3645, allocations: 489 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.3646, allocations: 59.34 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3649, allocations: 280.6 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.365, allocations: 25.7 kB / 1.296 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3651, allocations: 159.9 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3651, allocations: 43.64 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.3652, allocations: 41.69 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3654, allocations: 338.8 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.3659, allocations: 147.9 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.3664, allocations: 147.9 kB / 1.297 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009669/0.3674, allocations: 287.6 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3674, allocations: 3.938 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001102/0.3685, allocations: 373.1 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3685, allocations: 7.938 kB / 1.297 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3685, allocations: 7.984 kB / 1.297 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3685, allocations: 4 kB / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.369, allocations: 63.92 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.369, allocations: 4 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.3693, allocations: 51.77 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3693, allocations: 8 kB / 1.297 GB, free: 13.99 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.0001633/0.3695, allocations: 129.8 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3696, allocations: 27.81 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3708, allocations: 380.1 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3708, allocations: 0 / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3708, allocations: 4 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3708, allocations: 7.922 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.3711, allocations: 272.5 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3711, allocations: 0 / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.3715, allocations: 63.86 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3715, allocations: 4 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3716, allocations: 11.92 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3716, allocations: 0 / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3716, allocations: 4 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3727, allocations: 451 kB / 1.299 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3728, allocations: 39.78 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.3729, allocations: 8 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3732, allocations: 39.94 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3733, allocations: 11.98 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.3733, allocations: 19.92 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001955/0.3735, allocations: 195.1 kB / 1.299 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 1.299 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003754/0.3739, allocations: 75.83 kB / 1.299 GB, free: 12.2 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.0002509/0.3741, allocations: 145.1 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.3752, allocations: 311.7 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3752, allocations: 0 / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.3757, allocations: 155.8 kB / 1.3 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3761, allocations: 37.05 kB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3773, allocations: 0.5334 MB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3777, allocations: 0.7475 MB / 1.301 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3779, allocations: 31.41 kB / 1.301 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3779, allocations: 4 kB / 1.301 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.006955/0.3848, allocations: 3.91 MB / 1.305 GB, free: 6.305 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/jenkins1/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: 11.656025135016534]