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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 191.6 kB / 22.17 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 68.12 kB / 1.109 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8916, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002926/0.8945, allocations: 1.507 MB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.896, allocations: 0.7649 MB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.8961, allocations: 0 / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.8961, allocations: 3.938 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.8962, allocations: 15.88 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.8967, allocations: 123.6 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.8969, allocations: 79.7 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.897, allocations: 12.17 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.8971, allocations: 27.92 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.8972, allocations: 39.83 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.8972, allocations: 4 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.8974, allocations: 107.8 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.8974, allocations: 15.92 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.8975, allocations: 35.86 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.8978, allocations: 142.2 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.8978, allocations: 3.984 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.241e-05/0.8978, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.8978, allocations: 0 / 1.277 GB, free: 1.617 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007576/0.8986, allocations: 450.3 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8986, allocations: 8.031 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.8987, allocations: 12.88 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.8988, allocations: 179.6 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.8989, allocations: 12.38 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.8989, allocations: 4.375 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.8991, allocations: 77.77 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8991, allocations: 0 / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.8991, allocations: 0 / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8991, allocations: 0 / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.8993, allocations: 39.91 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.8999, allocations: 304.8 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.9, allocations: 46.56 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.9001, allocations: 32.95 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.9001, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.9004, allocations: 87.38 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.9004, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004513/0.9008, allocations: 141.8 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.9009, allocations: 55.41 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.901, allocations: 125.8 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9011, allocations: 25.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.9011, allocations: 96.09 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.9012, allocations: 19.89 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.9012, allocations: 29.66 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9014, allocations: 326.7 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.9015, allocations: 19.98 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.9016, allocations: 73 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.9018, allocations: 85.08 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9018, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.902, allocations: 113.5 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.902, allocations: 8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.902, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.9021, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.9022, allocations: 15.98 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.9022, allocations: 12 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.9022, allocations: 11.92 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.9023, allocations: 8.156 kB / 1.279 GB, free: 14.97 MB / 0.9825 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.0001213/0.9024, allocations: 121.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.9024, allocations: 7.953 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.9024, allocations: 8.375 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.9024, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9024, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.9024, allocations: 3.984 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.903, allocations: 390.4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.903, allocations: 4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.9031, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9031, allocations: 8.031 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9031, allocations: 3.984 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9031, allocations: 3.938 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9031, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.9034, allocations: 227.3 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.9035, allocations: 85 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.9035, allocations: 4 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.9036, allocations: 7.922 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.9036, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.9037, allocations: 11.98 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.9037, allocations: 91.27 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9037, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003334/0.9041, allocations: 39.94 kB / 1.28 GB, free: 13.86 MB / 0.9825 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.0003929/0.9045, allocations: 157.6 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.9047, allocations: 71.89 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9047, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.9048, allocations: 40.23 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.9051, allocations: 11.98 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.9056, allocations: 200.1 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.906, allocations: 0.6885 MB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.906, allocations: 11.98 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.906, allocations: 11.44 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.906, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.005261/0.9113, allocations: 1.53 MB / 1.283 GB, free: 11.12 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.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: 8.75543516362086]