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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002237/0.002237, allocations: 211 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.852/2.852, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] 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.002159/0.002159, allocations: 70.81 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002982/0.3648, allocations: 1.508 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3664, allocations: 0.7535 MB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.3664, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.3664, allocations: 11.92 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.3665, allocations: 15.86 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.3671, allocations: 135.5 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3672, allocations: 71.78 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.3673, allocations: 12.16 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3675, allocations: 31.92 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.3675, allocations: 35.78 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3675, allocations: 4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.3678, allocations: 143.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.3679, allocations: 19.92 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.3679, allocations: 23.86 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.3682, allocations: 155.4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 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.0006558/0.3689, allocations: 373.3 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3689, allocations: 12.03 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.3691, allocations: 24.91 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3694, allocations: 136.8 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3694, allocations: 4.375 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3694, allocations: 4.375 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3696, allocations: 69.78 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3696, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3696, allocations: 3.938 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3696, allocations: 7.938 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3698, allocations: 43.91 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.3702, allocations: 236.5 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3703, allocations: 42.55 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.3704, allocations: 28.97 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3705, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.3706, allocations: 83.31 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3706, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00043/0.3711, allocations: 137.6 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.3711, allocations: 55.41 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3712, allocations: 122.1 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3713, allocations: 29.7 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.3713, allocations: 100.1 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.3714, allocations: 15.91 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3714, allocations: 33.64 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3716, allocations: 322.8 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.3716, allocations: 19.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3718, allocations: 69.12 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.3719, allocations: 89.06 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3719, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.3722, allocations: 117.5 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3722, allocations: 7.984 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3722, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3722, allocations: 4 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.3723, allocations: 11.94 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3723, allocations: 4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.3724, allocations: 7.984 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3724, allocations: 8 kB / 1.288 GB, free: 6.645 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.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.0001084/0.3725, allocations: 121.9 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.3725, allocations: 7.953 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3726, allocations: 16.31 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3726, allocations: 3.984 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3731, allocations: 318.3 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3731, allocations: 4 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.3731, allocations: 8 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3731, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3731, allocations: 11.98 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3731, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3731, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.3735, allocations: 223.3 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3735, allocations: 11.94 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3735, allocations: 4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.3736, allocations: 4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3736, allocations: 3.984 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3736, allocations: 7.938 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.3737, allocations: 97.02 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003263/0.374, allocations: 39.92 kB / 1.289 GB, free: 5.715 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.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.0004145/0.3745, allocations: 166.1 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.3747, allocations: 68.03 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3747, allocations: 0 / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3748, allocations: 35.92 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3751, allocations: 11.98 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.3756, allocations: 197.4 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.553e-05/0.3757, allocations: 75.41 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.3757, allocations: 15.92 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3757, allocations: 15.38 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3757, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.005113/0.3809, allocations: 1.506 MB / 1.291 GB, free: 3.621 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.15336069650948]