Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001627/0.001627, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.001942/0.001942, allocations: 212.5 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.12/3.12, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_12_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_12_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.003221/0.003221, allocations: 68.17 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3429, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002868/0.3458, allocations: 1.509 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3473, allocations: 0.7596 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.3473, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.149e-05/0.3474, allocations: 7.875 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.3474, allocations: 15.84 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.3479, allocations: 143.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3481, allocations: 75.72 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.3481, allocations: 11.98 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.3483, allocations: 39.84 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.3483, allocations: 39.83 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3484, allocations: 8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.3487, allocations: 131.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.3487, allocations: 39.84 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.3488, allocations: 31.69 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.3491, allocations: 199.1 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3491, allocations: 8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3491, allocations: 3.984 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3491, allocations: 0 / 1.33 GB, free: 13.99 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.0007174/0.3498, allocations: 453.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3498, allocations: 8.031 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.3501, allocations: 28.83 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3503, allocations: 139 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3504, allocations: 384 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3504, allocations: 4.375 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.3507, allocations: 209.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3507, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3507, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3507, allocations: 4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3509, allocations: 103.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3514, allocations: 256.4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3515, allocations: 110.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3517, allocations: 101.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3517, allocations: 7.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.352, allocations: 216.2 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.352, allocations: 3.938 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0007932/0.3528, allocations: 0.5126 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.3528, allocations: 91.36 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.353, allocations: 140 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.353, allocations: 57.69 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.3531, allocations: 101 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3532, allocations: 99.36 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3533, allocations: 98.05 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002455/0.3536, allocations: 338.8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.3538, allocations: 184.9 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.3542, allocations: 255.7 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.3548, allocations: 494.9 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3548, allocations: 3.938 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007659/0.3556, allocations: 0.5102 MB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3556, allocations: 4 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3556, allocations: 8.219 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3556, allocations: 3.984 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3558, allocations: 35.86 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3558, allocations: 4 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3559, allocations: 39.62 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3559, allocations: 16 kB / 1.334 GB, free: 9.188 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.0002089/0.3561, allocations: 199.5 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3562, allocations: 15.89 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.3562, allocations: 13.62 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3562, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3562, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.3562, allocations: 19.78 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.3563, allocations: 39.98 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.3563, allocations: 7.984 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3564, allocations: 3.938 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005878/0.357, allocations: 426.7 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000623/0.3576, allocations: 0.5323 MB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002533/0.3578, allocations: 95.95 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.3579, allocations: 95.27 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of Backend: time 2.51e-07/0.3579, allocations: 4 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009653/0.3589, allocations: 382.3 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007922/0.3597, allocations: 0.7498 MB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of Templates: time 0.00593/0.3656, allocations: 2.395 MB / 1.339 GB, free: 4.199 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.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.530107455000689]