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.000946/0.000946, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009152/0.0009152, allocations: 161 kB / 23.82 MB, free: 0.75 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.9699/0.9699, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.701/1.701, allocations: 359 MB / 0.6052 GB, free: 10.96 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.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.863e-05, allocations: 4 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001965/0.001984, allocations: 1.553 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003021, allocations: 0.7838 MB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.003078, allocations: 5.469 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.003108, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.003161, allocations: 15.8 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.003666, allocations: 140.6 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.003763, allocations: 75.7 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003838, allocations: 9.156 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.003963, allocations: 51.88 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.004008, allocations: 24.66 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.004025, allocations: 8 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.004237, allocations: 138.1 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.004258, allocations: 19.97 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.004293, allocations: 19.92 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.00449, allocations: 151.5 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004492, allocations: 0 / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004492, allocations: 0 / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004496, allocations: 0 / 0.79 GB, free: 9.504 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.0004726/0.004969, allocations: 473.4 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.005005, allocations: 8.031 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.005178, allocations: 24.88 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005319, allocations: 137 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.005338, allocations: 4.875 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.00535, allocations: 8.359 kB / 0.7906 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.005473, allocations: 71.52 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.005479, allocations: 0.9688 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.00549, allocations: 7.938 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.005495, allocations: 1.156 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.005531, allocations: 11.98 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.005837, allocations: 293 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.0059, allocations: 39.05 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.005929, allocations: 19.62 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.005944, allocations: 5.75 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.527e-05/0.006019, allocations: 73.14 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.00602, allocations: 0 / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002112/0.006231, allocations: 97.56 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.006264, allocations: 60.7 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.006346, allocations: 175.4 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006358, allocations: 33.7 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.006405, allocations: 142.8 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.006422, allocations: 16.47 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.006458, allocations: 35.89 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.006563, allocations: 0.4942 MB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.006583, allocations: 4 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.006629, allocations: 66.11 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.006701, allocations: 84.59 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.006704, allocations: 3.938 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003659/0.00707, allocations: 97.5 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.007082, allocations: 8.531 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.007086, allocations: 0.7188 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007098, allocations: 11.92 kB / 0.7924 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.007161, allocations: 12.53 kB / 0.7924 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007168, allocations: 9.594 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.007199, allocations: 11.98 kB / 0.7924 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.007209, allocations: 7.984 kB / 0.7924 GB, free: 6.742 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.291e-05/0.007282, allocations: 170.9 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.007296, allocations: 7.953 kB / 0.7926 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.007314, allocations: 8.438 kB / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007317, allocations: 4.781 kB / 0.7926 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.00732, allocations: 0 / 0.7926 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007324, allocations: 5.266 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.007554, allocations: 349.3 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007554, allocations: 0 / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.007572, allocations: 4.844 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007574, allocations: 0 / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.007581, allocations: 0 / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007582, allocations: 1.25 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007583, allocations: 0 / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.007723, allocations: 251.7 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.007729, allocations: 5.234 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007741, allocations: 0 / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.007782, allocations: 7.984 kB / 0.7932 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.007816, allocations: 9.781 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.007823, allocations: 3.984 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.007864, allocations: 141.7 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007865, allocations: 4 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002067/0.008071, allocations: 35.94 kB / 0.7934 GB, free: 5.695 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.0002628/0.008334, allocations: 175.9 kB / 0.7936 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008447, allocations: 56.55 kB / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008448, allocations: 0 / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.008489, allocations: 37.05 kB / 0.7937 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.008665, allocations: 11.98 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.009193, allocations: 192.6 kB / 0.7939 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.009228, allocations: 60.53 kB / 0.7939 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.009251, allocations: 4.094 kB / 0.7939 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.009276, allocations: 13.59 kB / 0.7939 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.009276, allocations: 0 / 0.7939 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.003188/0.01246, allocations: 1.656 MB / 0.7955 GB, free: 3.48 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: 4.791094095911831]