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.0008471/0.0008471, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001491/0.001491, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9619/0.9619, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.71/1.71, allocations: 359 MB / 0.6055 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.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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.319e-05, allocations: 3.219 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001777/0.00179, allocations: 1.551 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.002768, allocations: 0.7775 MB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.002824, allocations: 0 / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.002855, allocations: 9.125 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.002905, allocations: 11.92 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.003388, allocations: 144.6 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.003479, allocations: 75.7 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.003554, allocations: 12.17 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.003668, allocations: 48.83 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.003707, allocations: 19.97 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.003724, allocations: 8.781 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.003915, allocations: 135.7 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.003937, allocations: 26.38 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.003966, allocations: 19.92 kB / 0.7903 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004142, allocations: 147.5 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.004144, allocations: 0 / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004145, allocations: 0 / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.004148, allocations: 0 / 0.7904 GB, free: 9.262 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.0004079/0.004556, allocations: 477.3 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.00459, allocations: 8.031 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.00473, allocations: 24.88 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.004851, allocations: 136 kB / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.004866, allocations: 4.375 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.004875, allocations: 5.094 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.004979, allocations: 71.39 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.004986, allocations: 4.188 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.004993, allocations: 5.781 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004998, allocations: 0 / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.005022, allocations: 11.98 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.005275, allocations: 268.9 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.788e-05/0.005323, allocations: 35.59 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.005345, allocations: 27.78 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.005362, allocations: 0.7812 kB / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.9e-05/0.005431, allocations: 70.12 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005432, allocations: 0 / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000168/0.0056, allocations: 97.55 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.005629, allocations: 60.78 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.0057, allocations: 177.9 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005711, allocations: 29.64 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.005762, allocations: 146.8 kB / 0.792 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.005778, allocations: 17.64 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.005813, allocations: 35.34 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.005916, allocations: 496.1 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.005931, allocations: 11.98 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.005966, allocations: 59.33 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.015e-05/0.006026, allocations: 83.36 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006028, allocations: 0 / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.523e-05/0.006113, allocations: 99.09 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.006123, allocations: 4 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006127, allocations: 2.625 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006138, allocations: 4 kB / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.006197, allocations: 15.98 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006201, allocations: 4.312 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.006229, allocations: 11.95 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.006236, allocations: 0 / 0.7928 GB, free: 6.566 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 7.006e-05/0.006306, allocations: 178.8 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.006318, allocations: 12.42 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.006338, allocations: 10.38 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.006339, allocations: 0 / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006341, allocations: 4 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006344, allocations: 0 / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.006554, allocations: 333.9 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006555, allocations: 0 / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.006572, allocations: 6.594 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006573, allocations: 0 / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006579, allocations: 3.984 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.00658, allocations: 3.938 kB / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006581, allocations: 0 / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006699, allocations: 231.8 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.006708, allocations: 15.94 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.006719, allocations: 8.516 kB / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.00676, allocations: 4.906 kB / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.006783, allocations: 3.984 kB / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.00679, allocations: 8.719 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.006827, allocations: 131.2 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006827, allocations: 1.281 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001833/0.00701, allocations: 35.94 kB / 0.7938 GB, free: 5.543 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.0002311/0.007241, allocations: 180.5 kB / 0.7939 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.007322, allocations: 46.62 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.007323, allocations: 0 / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.007354, allocations: 23.67 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.007529, allocations: 23.86 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.00796, allocations: 192.8 kB / 0.7942 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.007994, allocations: 59.34 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.008015, allocations: 5.031 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.008063, allocations: 79.25 kB / 0.7943 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.008063, allocations: 0 / 0.7943 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.003075/0.01114, allocations: 1.68 MB / 0.796 GB, free: 3.25 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.858000108972192]