Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.001608/0.001608, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001772/0.001772, allocations: 208.9 kB / 23 MB, free: 4.934 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [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.002017/0.002017, allocations: 67.95 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003022/0.327, allocations: 1.511 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3285, allocations: 0.7557 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.3286, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.846e-05/0.3287, allocations: 7.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.3287, allocations: 15.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.3293, allocations: 147.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3294, allocations: 79.69 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.3295, allocations: 12 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3297, allocations: 35.91 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.3297, allocations: 39.83 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3298, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.33, allocations: 135.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.3301, allocations: 43.84 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3301, allocations: 31.73 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.3304, allocations: 195.1 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3304, allocations: 8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3304, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3305, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007138/0.3312, allocations: 453.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3312, allocations: 8.031 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.3315, allocations: 32.83 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3318, allocations: 142.2 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3318, allocations: 4.375 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3318, allocations: 4.375 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.3321, allocations: 205.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3321, allocations: 3.984 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3322, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3322, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.3324, allocations: 107.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.3328, allocations: 252.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.333, allocations: 114.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3332, allocations: 97.22 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3332, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.3335, allocations: 216.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.3335, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008305/0.3343, allocations: 0.5126 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.3344, allocations: 91.36 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3345, allocations: 141.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.3346, allocations: 53.69 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.3347, allocations: 97.03 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3348, allocations: 107.3 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3349, allocations: 94.05 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3351, allocations: 342.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.3354, allocations: 172.9 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.3357, allocations: 259.7 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.3364, allocations: 491 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3364, allocations: 3.938 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00081/0.3372, allocations: 0.514 MB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3372, allocations: 8 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3372, allocations: 4.219 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3373, allocations: 4 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3374, allocations: 23.92 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3374, allocations: 11.92 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3375, allocations: 47.56 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3376, allocations: 12 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 75 (bli.state[33],$PRE.bli.state[33],bli.state[32],$PRE.bli.state[32],bli.state[31],$PRE.bli.state[31],bli.state[30],$PRE.bli.state[30],bli.state[29],$PRE.bli.state[29],bli.state[28],$PRE.bli.state[28],bli.state[27],$PRE.bli.state[27],bli.state[26],$PRE.bli.state[26],bli.state[25],$PRE.bli.state[25],bli.state[24],$PRE.bli.state[24],bli.state[23],$PRE.bli.state[23],bli.state[22],$PRE.bli.state[22],bli.state[21],$PRE.bli.state[21],bli.state[20],$PRE.bli.state[20],bli.state[19],$PRE.bli.state[19],bli.state[18],$PRE.bli.state[18],bli.state[17],$PRE.bli.state[17],bli.state[16],$PRE.bli.state[16],bli.state[15],$PRE.bli.state[15],bli.state[14],$PRE.bli.state[14],bli.state[13],$PRE.bli.state[13],bli.state[12],$PRE.bli.state[12],bli.state[11],$PRE.bli.state[11],bli.state[10],$PRE.bli.state[10],bli.state[9],$PRE.bli.state[9],bli.state[8],$PRE.bli.state[8],bli.state[7],$PRE.bli.state[7],bli.state[6],$PRE.bli.state[6],bli.state[5],$PRE.bli.state[5],bli.state[4],$PRE.bli.state[4],bli.state[3],$PRE.bli.state[3],bli.state[2],$PRE.bli.state[2],bli.state[1],$PRE.bli.state[1],bli.ran,$PRE.bli.ran,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0002252/0.3378, allocations: 207.4 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.3378, allocations: 11.91 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3378, allocations: 9.625 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3379, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3379, allocations: 7.984 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.3379, allocations: 23.78 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3379, allocations: 27.98 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.338, allocations: 8 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.338, allocations: 15.86 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005963/0.3386, allocations: 430.7 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006366/0.3393, allocations: 0.5284 MB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001571/0.3394, allocations: 91.97 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.3395, allocations: 99.27 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of Backend: time 5.21e-07/0.3395, allocations: 4 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.3405, allocations: 375.7 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008498/0.3414, allocations: 0.7498 MB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of Templates: time 0.006267/0.3476, allocations: 2.386 MB / 1.339 GB, free: 4.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.continuous,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.globalSeed,bli.localSeed,bli.occ,bli.pDown,bli.samplePeriod,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 8.54376964399853]