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.001671/0.001671, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00185/0.00185, allocations: 186 kB / 20.78 MB, free: 1.547 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.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.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.838/2.838, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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.002014/0.002014, allocations: 63.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002956/1.15, allocations: 1.522 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001465/1.151, allocations: 0.7584 MB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/1.151, allocations: 1.031 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/1.152, allocations: 11.2 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/1.152, allocations: 13.8 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/1.152, allocations: 119.8 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/1.152, allocations: 71.84 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/1.152, allocations: 10.03 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/1.153, allocations: 36.66 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/1.153, allocations: 37.31 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/1.153, allocations: 6.469 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/1.153, allocations: 105 kB / 1.275 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/1.153, allocations: 19.73 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/1.153, allocations: 33.92 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/1.153, allocations: 141.2 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.153, allocations: 0 / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.153, allocations: 0.9375 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.153, allocations: 0 / 1.275 GB, free: 6.098 MB / 0.9981 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.0005996/1.154, allocations: 453.3 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.154, allocations: 13.75 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/1.154, allocations: 7.891 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.154, allocations: 179.4 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.154, allocations: 2.625 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/1.154, allocations: 8.078 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.154, allocations: 72.2 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.154, allocations: 0 / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.154, allocations: 1.656 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.154, allocations: 4.5 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/1.154, allocations: 37.5 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/1.155, allocations: 310.2 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/1.155, allocations: 44.97 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/1.155, allocations: 35.2 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.155, allocations: 5.016 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/1.155, allocations: 82.95 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.155, allocations: 0 / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004383/1.156, allocations: 147.3 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.156, allocations: 57.2 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/1.156, allocations: 126.9 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/1.156, allocations: 29.69 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/1.156, allocations: 98.86 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/1.156, allocations: 19.7 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/1.156, allocations: 24.7 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/1.156, allocations: 323.1 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/1.156, allocations: 22.28 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/1.156, allocations: 73.31 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/1.156, allocations: 92.97 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.156, allocations: 0.9688 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/1.157, allocations: 111.9 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.157, allocations: 5.938 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.157, allocations: 1.25 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.157, allocations: 2.75 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/1.157, allocations: 17.36 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.157, allocations: 2 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/1.157, allocations: 10.05 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/1.157, allocations: 4.25 kB / 1.277 GB, free: 4.012 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 7.358e-05/1.157, allocations: 125.4 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/1.157, allocations: 9.703 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/1.157, allocations: 10.03 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.157, allocations: 0.9062 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.157, allocations: 4.938 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.157, allocations: 0 / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/1.158, allocations: 400.5 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.158, allocations: 0.8125 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/1.158, allocations: 5.297 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.158, allocations: 1.062 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1.158, allocations: 2.047 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.158, allocations: 5.672 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.158, allocations: 5.125 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/1.158, allocations: 205.8 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/1.158, allocations: 88.09 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.158, allocations: 1.188 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/1.158, allocations: 9.438 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/1.158, allocations: 9.75 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.158, allocations: 2.688 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.326e-05/1.158, allocations: 107.6 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.158, allocations: 0 / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003293/1.158, allocations: 36.69 kB / 1.278 GB, free: 3.148 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.0003842/1.159, allocations: 158.5 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002624/1.159, allocations: 70.3 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.159, allocations: 7.938 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.159, allocations: 33.94 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.159, allocations: 15.73 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/1.16, allocations: 215.1 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.16, allocations: 0.6925 MB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.469e-05/1.16, allocations: 5.609 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.16, allocations: 11.88 kB / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.16, allocations: 0 / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of Templates: time 0.005463/1.166, allocations: 1.514 MB / 1.281 GB, free: 1.973 MB / 0.9981 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 -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.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.492062903009355]