Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.001845/0.001845, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002306/0.002306, allocations: 158.5 kB / 23.01 MB, free: 4.945 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.616/2.616, allocations: 359.1 MB / 0.6044 GB, free: 14.98 MB / 0.5762 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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [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: 59.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 169.9 MB / 1.117 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002723/0.3329, allocations: 1.517 MB / 1.119 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3343, allocations: 0.7557 MB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.3344, allocations: 0 / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.3344, allocations: 3.938 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.3345, allocations: 11.81 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.335, allocations: 147.6 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3351, allocations: 75.72 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.3352, allocations: 4.188 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3354, allocations: 47.88 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.3354, allocations: 27.8 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3354, allocations: 8 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.3357, allocations: 131.8 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.3358, allocations: 23.91 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3358, allocations: 19.92 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3361, allocations: 151.4 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3361, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3361, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3361, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 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.000601/0.3367, allocations: 377.2 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3367, allocations: 8.031 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.337, allocations: 24.88 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3372, allocations: 130.4 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3372, allocations: 4.375 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3372, allocations: 8.359 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3374, allocations: 77.72 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3374, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3374, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3374, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3376, allocations: 39.97 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.338, allocations: 224.5 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3381, allocations: 46.56 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.3382, allocations: 36.91 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3382, allocations: 0 / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3384, allocations: 79.38 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3384, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.3388, allocations: 149.6 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3389, allocations: 51.41 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.339, allocations: 137.1 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.339, allocations: 29.7 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.3391, allocations: 92.14 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3391, allocations: 19.78 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3392, allocations: 29.7 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3393, allocations: 326.8 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.3394, allocations: 19.98 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3395, allocations: 61.08 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3397, allocations: 93.06 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3397, allocations: 0 / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002334/0.3399, allocations: 113.5 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3399, allocations: 8 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3399, allocations: 4.141 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3399, allocations: 8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.34, allocations: 15.92 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.34, allocations: 4 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.3401, allocations: 4 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3401, allocations: 4 kB / 1.122 GB, free: 13.24 MB / 1.076 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.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 (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.0001169/0.3402, allocations: 125.8 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.3403, allocations: 7.953 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.3403, allocations: 8.438 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3403, allocations: 11.94 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3403, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3403, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.3408, allocations: 322 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3408, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.3408, allocations: 11.92 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3408, allocations: 4 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3409, allocations: 4 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3409, allocations: 4 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3409, allocations: 3.938 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3412, allocations: 215.4 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.3412, allocations: 0 / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3412, allocations: 8 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.3413, allocations: 3.984 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3414, allocations: 4 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3414, allocations: 7.922 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.3414, allocations: 95.27 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3414, allocations: 0 / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003184/0.3417, allocations: 35.94 kB / 1.123 GB, free: 12.32 MB / 1.076 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.pDown,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.0003666/0.3421, allocations: 165.8 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3424, allocations: 75.81 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3424, allocations: 0 / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3425, allocations: 32.3 kB / 1.123 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3427, allocations: 15.98 kB / 1.123 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3432, allocations: 182 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.45e-05/0.3433, allocations: 91.12 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.3433, allocations: 8.078 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3433, allocations: 12.48 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.3433, allocations: 4 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of Templates: time 0.004549/0.3479, allocations: 1.457 MB / 1.125 GB, free: 10.27 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 8.559602843015455]