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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.026/3.026, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 63.89 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002524/1.008, allocations: 1.512 MB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001197/1.009, allocations: 0.737 MB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/1.009, allocations: 0.9062 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/1.009, allocations: 3.938 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/1.009, allocations: 11.7 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/1.01, allocations: 125.9 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/1.01, allocations: 70 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/1.01, allocations: 9.844 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/1.01, allocations: 35.08 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/1.01, allocations: 33.14 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/1.01, allocations: 9.625 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/1.01, allocations: 101.4 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/1.01, allocations: 21.2 kB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/1.01, allocations: 29.23 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/1.01, allocations: 144.4 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.01, allocations: 4 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/1.01, allocations: 0.8438 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.01, allocations: 0 / 1.275 GB, free: 6.133 MB / 0.9981 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.0004957/1.011, allocations: 443.3 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/1.011, allocations: 9.406 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/1.011, allocations: 8.953 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/1.011, allocations: 172.7 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.011, allocations: 7.062 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.011, allocations: 6.375 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.011, allocations: 80.69 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.011, allocations: 0 / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.011, allocations: 0.6875 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.011, allocations: 5.406 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/1.011, allocations: 35 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/1.012, allocations: 300.4 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.012, allocations: 52.88 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/1.012, allocations: 29.03 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/1.012, allocations: 0.875 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/1.012, allocations: 77.25 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/1.012, allocations: 0 / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003869/1.013, allocations: 137.2 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/1.013, allocations: 62.8 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/1.013, allocations: 121.9 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/1.013, allocations: 28.62 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/1.013, allocations: 90.73 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/1.013, allocations: 11.95 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.013, allocations: 28.33 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/1.013, allocations: 330.5 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/1.013, allocations: 18.23 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/1.013, allocations: 59.41 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/1.013, allocations: 95.39 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.013, allocations: 4.531 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002078/1.013, allocations: 117.4 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.013, allocations: 5.781 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.013, allocations: 1.375 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.013, allocations: 2.156 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/1.014, allocations: 21.28 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.014, allocations: 1.656 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/1.014, allocations: 13.75 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.014, allocations: 11.55 kB / 1.277 GB, free: 4.059 MB / 0.9981 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 5.869e-05/1.014, allocations: 129.5 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/1.014, allocations: 6.922 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/1.014, allocations: 10.92 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.014, allocations: 3.703 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.014, allocations: 0 / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.014, allocations: 0 / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/1.014, allocations: 376.8 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.014, allocations: 0.9375 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/1.014, allocations: 9.875 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.014, allocations: 0 / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.014, allocations: 1.75 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.014, allocations: 4.969 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.014, allocations: 3.938 kB / 1.278 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/1.014, allocations: 208.4 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/1.014, allocations: 79.52 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.014, allocations: 5.312 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/1.014, allocations: 4.969 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.015, allocations: 8.797 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/1.015, allocations: 3.953 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.512e-05/1.015, allocations: 95.05 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.015, allocations: 0.9375 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002998/1.015, allocations: 37.52 kB / 1.278 GB, free: 3.215 MB / 0.9981 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.0003094/1.015, allocations: 176.4 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002433/1.015, allocations: 69.73 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.015, allocations: 0 / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.612e-05/1.016, allocations: 30.66 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.016, allocations: 17.39 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/1.016, allocations: 210.8 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/1.016, allocations: 0.6862 MB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.323e-05/1.016, allocations: 6.797 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/1.016, allocations: 10.5 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.016, allocations: 5.094 kB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.00455/1.021, allocations: 1.45 MB / 1.281 GB, free: 2.043 MB / 0.9981 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.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.40644971653819]