Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.001504/0.001504, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.001619/0.001619, allocations: 219.2 kB / 22.26 MB, free: 5.195 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.023 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.866/2.866, allocations: 476.7 MB / 0.7706 GB, free: 4.324 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.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") [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.002127/0.002127, allocations: 68.23 kB / 1.118 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3866, allocations: 169.9 MB / 1.284 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003099/0.3897, allocations: 1.529 MB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3914, allocations: 0.8465 MB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.3914, allocations: 4 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.3915, allocations: 7.875 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.3915, allocations: 15.84 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.3922, allocations: 147.5 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3924, allocations: 83.7 kB / 1.286 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.3925, allocations: 7.984 kB / 1.286 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3927, allocations: 35.92 kB / 1.286 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.3927, allocations: 39.83 kB / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3928, allocations: 8 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.3931, allocations: 143.7 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.3931, allocations: 23.91 kB / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3932, allocations: 31.86 kB / 1.287 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.3935, allocations: 155.4 kB / 1.287 GB, free: 256 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3935, allocations: 0 / 1.287 GB, free: 256 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3935, allocations: 4 kB / 1.287 GB, free: 252 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3935, allocations: 0 / 1.287 GB, free: 252 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007638/0.3942, allocations: 381.2 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3943, allocations: 8.031 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.3946, allocations: 36.84 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3949, allocations: 138.4 kB / 1.287 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3949, allocations: 384 / 1.287 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3949, allocations: 8.375 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3952, allocations: 73.95 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3952, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3952, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3952, allocations: 4 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3953, allocations: 39.97 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.3959, allocations: 279.7 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.396, allocations: 42.56 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.3961, allocations: 32.97 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3962, allocations: 0 / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3963, allocations: 91.42 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3963, allocations: 3.938 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005451/0.3969, allocations: 145.5 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3969, allocations: 51.41 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3971, allocations: 127.5 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3971, allocations: 29.7 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.3972, allocations: 92.14 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3972, allocations: 19.84 kB / 1.288 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3973, allocations: 29.7 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3974, allocations: 322.8 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.3975, allocations: 19.98 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.3976, allocations: 65.08 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3978, allocations: 93 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3978, allocations: 4 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002272/0.398, allocations: 113.5 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.398, allocations: 8 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.398, allocations: 0 / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.398, allocations: 4 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.3981, allocations: 11.98 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3981, allocations: 4 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.3982, allocations: 15.89 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3982, allocations: 8.469 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001282/0.3983, allocations: 125.7 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3984, allocations: 7.953 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.3984, allocations: 12.38 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3984, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3984, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3984, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.399, allocations: 369.5 kB / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.399, allocations: 0 / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.399, allocations: 7.984 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.399, allocations: 0 / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.399, allocations: 48 / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.399, allocations: 0 / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.399, allocations: 11.92 kB / 1.29 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3994, allocations: 223.4 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3994, allocations: 15.89 kB / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3994, allocations: 0 / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.3995, allocations: 7.984 kB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3995, allocations: 15.86 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3996, allocations: 4 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.3996, allocations: 98.36 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3996, allocations: 0 / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003252/0.4, allocations: 43.86 kB / 1.29 GB, free: 12.76 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000424/0.4004, allocations: 152.8 kB / 1.29 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.4007, allocations: 63.91 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4007, allocations: 0 / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.4008, allocations: 40.28 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4011, allocations: 15.55 kB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4016, allocations: 184.5 kB / 1.29 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.4021, allocations: 0.6924 MB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.4022, allocations: 8 kB / 1.291 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.4022, allocations: 7.438 kB / 1.291 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.4022, allocations: 0 / 1.291 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.005065/0.4072, allocations: 1.542 MB / 1.293 GB, free: 10.04 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.continuous,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 9.175088949035853]