Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001872/0.001872, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.002728/0.002728, allocations: 219 kB / 22.25 MB, free: 5.133 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 8.023 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.884/2.884, allocations: 476.7 MB / 0.7706 GB, free: 4.324 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.002055/0.002055, allocations: 70.17 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.415, allocations: 170 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.0033/0.4183, allocations: 1.529 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.42, allocations: 0.808 MB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.4201, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.4201, allocations: 7.938 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.4201, allocations: 11.86 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.4208, allocations: 139.5 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.421, allocations: 75.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4211, allocations: 12.12 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4212, allocations: 39.91 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.4213, allocations: 35.83 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.4213, allocations: 11.94 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.4216, allocations: 143.8 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.4216, allocations: 15.98 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.4217, allocations: 39.78 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.422, allocations: 135.6 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.422, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.422, allocations: 3.938 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.422, allocations: 4 kB / 1.287 GB, free: 8.211 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.00066/0.4226, allocations: 377.2 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4227, allocations: 8.031 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.4229, allocations: 24.91 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.4232, allocations: 134.4 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.4232, allocations: 8.359 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4232, allocations: 8.375 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4235, allocations: 69.77 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4235, allocations: 3.938 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4235, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4235, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4236, allocations: 43.91 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.4241, allocations: 267.9 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4243, allocations: 46.55 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.4244, allocations: 24.97 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4244, allocations: 8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.4246, allocations: 79.31 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.4246, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004294/0.4251, allocations: 137.7 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4251, allocations: 51.41 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4253, allocations: 133.4 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4253, allocations: 29.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.4254, allocations: 92.08 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.4254, allocations: 19.84 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.4254, allocations: 29.7 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4256, allocations: 318.8 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.4257, allocations: 23.98 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4258, allocations: 69.06 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.426, allocations: 89.08 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.426, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.4262, allocations: 113.5 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4262, allocations: 4 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4262, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4262, allocations: 7.984 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.4263, allocations: 12.09 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4263, allocations: 11.94 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.4264, allocations: 7.984 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4264, allocations: 7.938 kB / 1.289 GB, free: 5.758 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.0001164/0.4265, allocations: 121.8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.4265, allocations: 7.953 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.4266, allocations: 8.375 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4266, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4266, allocations: 4 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.4266, allocations: 7.984 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.4271, allocations: 357.4 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4271, allocations: 0 / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.4271, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4272, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4272, allocations: 48 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.4272, allocations: 7.938 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4272, allocations: 3.984 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.4275, allocations: 211.4 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.4275, allocations: 11.95 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4275, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.4276, allocations: 7.922 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.4277, allocations: 7.984 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4277, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.4278, allocations: 99.27 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4278, allocations: 0 / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00034/0.4281, allocations: 35.94 kB / 1.29 GB, free: 4.797 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.000547/0.4287, allocations: 157.7 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.429, allocations: 71.95 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.429, allocations: 3.938 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4291, allocations: 35.91 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4294, allocations: 19.92 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4299, allocations: 185.4 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.4304, allocations: 0.6926 MB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.4304, allocations: 7.984 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.4305, allocations: 11.44 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.4305, allocations: 0 / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.005635/0.4361, allocations: 1.487 MB / 1.292 GB, free: 2.098 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 9.561240065842867]