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.001051/0.001051, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001685/0.001685, allocations: 173 kB / 24.28 MB, free: 272 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.9436/0.9436, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.838/1.838, allocations: 359 MB / 0.6055 GB, free: 10.99 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.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.993e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00197/0.00199, allocations: 1.548 MB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.002948, allocations: 0.7886 MB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.003003, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.003029, allocations: 4.625 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.003079, allocations: 16.77 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.003587, allocations: 132.1 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003689, allocations: 83.69 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.003778, allocations: 8.75 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.003904, allocations: 55.31 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.003948, allocations: 23.91 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003966, allocations: 8 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.004147, allocations: 131.7 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.004167, allocations: 19.91 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.004204, allocations: 19.98 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.004407, allocations: 147.5 kB / 0.79 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004409, allocations: 0 / 0.79 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004411, allocations: 3.984 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.004414, allocations: 0.7188 kB / 0.79 GB, free: 9.82 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.0005781/0.004993, allocations: 477.2 kB / 0.7904 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.005029, allocations: 11.97 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.005195, allocations: 28.88 kB / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005334, allocations: 129.9 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.005354, allocations: 9.562 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.005365, allocations: 4.375 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.005496, allocations: 75.66 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.005501, allocations: 192 / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005513, allocations: 5.469 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005519, allocations: 0 / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.005557, allocations: 15.94 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.005881, allocations: 293.3 kB / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.005945, allocations: 35.06 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.005978, allocations: 19.8 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.005997, allocations: 7.938 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.161e-05/0.006078, allocations: 78.2 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006079, allocations: 0 / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002129/0.006292, allocations: 93.62 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.006325, allocations: 56.75 kB / 0.7913 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.00641, allocations: 184.5 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006422, allocations: 29.7 kB / 0.7915 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.00647, allocations: 143.3 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.006487, allocations: 15.97 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.006521, allocations: 31.89 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.006624, allocations: 0.4893 MB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.00665, allocations: 7.984 kB / 0.7921 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.006697, allocations: 74.8 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.006772, allocations: 83.97 kB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006773, allocations: 0 / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001051/0.006878, allocations: 98.66 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.006892, allocations: 6.531 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006896, allocations: 0 / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.006909, allocations: 4.719 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.006978, allocations: 19.92 kB / 0.7924 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.006984, allocations: 4.812 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.007017, allocations: 15.98 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.007027, allocations: 8.922 kB / 0.7924 GB, free: 7.055 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.103e-05/0.007098, allocations: 165.7 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.007112, allocations: 11.89 kB / 0.7926 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.007133, allocations: 8.438 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007135, allocations: 4.969 kB / 0.7926 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007138, allocations: 0 / 0.7926 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007142, allocations: 3.984 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.007386, allocations: 347.6 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007387, allocations: 0 / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.007406, allocations: 4 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007408, allocations: 0 / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.007415, allocations: 0 / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007417, allocations: 4 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007418, allocations: 3.25 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.00756, allocations: 255.7 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.007566, allocations: 3.953 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.007583, allocations: 4 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.007625, allocations: 3.984 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.007659, allocations: 4 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.007667, allocations: 3.984 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.007709, allocations: 143.2 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007709, allocations: 1.094 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001929/0.007902, allocations: 39.88 kB / 0.7934 GB, free: 6.004 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.0005201/0.008422, allocations: 166.7 kB / 0.7936 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.008534, allocations: 56.64 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008535, allocations: 0.8125 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.008582, allocations: 31.67 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.008775, allocations: 17.02 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.009299, allocations: 193 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.009332, allocations: 55.36 kB / 0.7939 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.009358, allocations: 11.55 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.009382, allocations: 12.5 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of SimCode: time 9.71e-07/0.009383, allocations: 0 / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.003093/0.01248, allocations: 1.503 MB / 0.7954 GB, free: 3.953 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.2433315590023994]