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.001114/0.001114, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001637/0.001637, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 18.57 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 0.9574/0.9574, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.821/1.821, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.595e-05, allocations: 5.984 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002071/0.002087, allocations: 1.552 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009/0.002987, allocations: 0.7814 MB / 0.7905 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.003017, allocations: 0 / 0.7905 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.003031, allocations: 4.719 kB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.00306, allocations: 12.44 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.003346, allocations: 148.2 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.003408, allocations: 69.22 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.003448, allocations: 16.16 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.003517, allocations: 47.84 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.003557, allocations: 27.95 kB / 0.7909 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003571, allocations: 7.125 kB / 0.7909 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.003741, allocations: 131.7 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.003759, allocations: 19.92 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.003791, allocations: 23.91 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.003953, allocations: 147.5 kB / 0.7912 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.003954, allocations: 0 / 0.7912 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.6e-07/0.003954, allocations: 3.938 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003958, allocations: 4 kB / 0.7912 GB, free: 9.258 MB / 0.7448 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.0003889/0.004347, allocations: 468.7 kB / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.004376, allocations: 12.03 kB / 0.7916 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.004513, allocations: 25.47 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.00463, allocations: 133.7 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.004645, allocations: 4.359 kB / 0.7918 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.004654, allocations: 4.375 kB / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.004756, allocations: 71.55 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004762, allocations: 0.8438 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004771, allocations: 4.125 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004775, allocations: 1.375 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.004799, allocations: 15.92 kB / 0.7919 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.005031, allocations: 264.3 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.005083, allocations: 36.72 kB / 0.7922 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.005104, allocations: 19.8 kB / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005116, allocations: 4 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/0.005179, allocations: 70.52 kB / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.00518, allocations: 0 / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001631/0.005343, allocations: 93.61 kB / 0.7924 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.005372, allocations: 63.34 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.005446, allocations: 181.4 kB / 0.7926 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005457, allocations: 29.7 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.005506, allocations: 142.8 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.00552, allocations: 19.89 kB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.005551, allocations: 31.36 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.005662, allocations: 0.4905 MB / 0.7933 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.005675, allocations: 11.92 kB / 0.7933 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.005718, allocations: 62.09 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.005777, allocations: 79.31 kB / 0.7934 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005779, allocations: 0 / 0.7934 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.263e-05/0.005861, allocations: 95.53 kB / 0.7935 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.005871, allocations: 6.188 kB / 0.7935 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005875, allocations: 4 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.005883, allocations: 0.625 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.005937, allocations: 24.77 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.00594, allocations: 4.312 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.005969, allocations: 8.484 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.005976, allocations: 4 kB / 0.7936 GB, free: 6.57 MB / 0.7448 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 6.86e-05/0.006044, allocations: 177.6 kB / 0.7937 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.006332, allocations: 12.67 kB / 0.7938 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.006346, allocations: 12.38 kB / 0.7938 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.006347, allocations: 4 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.006349, allocations: 0.5625 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006351, allocations: 0.8438 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.006545, allocations: 326 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006546, allocations: 2 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.006561, allocations: 4 kB / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006562, allocations: 3.938 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006568, allocations: 3.984 kB / 0.7941 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006569, allocations: 0 / 0.7941 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.00657, allocations: 7.938 kB / 0.7941 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.006686, allocations: 232.4 kB / 0.7943 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006692, allocations: 10.42 kB / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-06/0.0067, allocations: 0 / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.006741, allocations: 11.98 kB / 0.7943 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.006755, allocations: 3.984 kB / 0.7943 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00676, allocations: 4 kB / 0.7944 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.006792, allocations: 139.2 kB / 0.7945 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006792, allocations: 0 / 0.7945 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001746/0.006967, allocations: 37.75 kB / 0.7945 GB, free: 5.547 MB / 0.7448 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.0001876/0.007155, allocations: 169.3 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.007221, allocations: 49.28 kB / 0.7947 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.11e-07/0.007222, allocations: 0 / 0.7947 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.00725, allocations: 27.66 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.007399, allocations: 24.52 kB / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.007742, allocations: 189.4 kB / 0.795 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.007768, allocations: 59.34 kB / 0.795 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.007786, allocations: 4.844 kB / 0.795 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.007829, allocations: 81.91 kB / 0.7951 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.00783, allocations: 0 / 0.7951 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.002711/0.01054, allocations: 1.703 MB / 0.7968 GB, free: 3.23 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.063835103996098]