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.001384/0.001384, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.000945/0.000945, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.052/1.052, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.765/1.765, allocations: 359 MB / 0.6052 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.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.014e-05, allocations: 3.969 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.007237/0.007257, allocations: 1.55 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.008638, allocations: 0.7827 MB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.008694, allocations: 3.938 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.008729, allocations: 3.938 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.008797, allocations: 15.86 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.01242, allocations: 145 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.01252, allocations: 75.7 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.0126, allocations: 8.188 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.01272, allocations: 48.53 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.01277, allocations: 27.91 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.01279, allocations: 4.625 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.01301, allocations: 135.7 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.01303, allocations: 20.94 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.01307, allocations: 19.98 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.01333, allocations: 152.9 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01333, allocations: 0 / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.01333, allocations: 0 / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.01334, allocations: 0 / 0.79 GB, free: 9.543 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.0005441/0.01388, allocations: 476.5 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.01392, allocations: 12.03 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.01414, allocations: 25.62 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.01431, allocations: 131 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.01434, allocations: 12.36 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.01435, allocations: 4.375 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.01452, allocations: 74.91 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01453, allocations: 192 / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.01455, allocations: 4.125 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01456, allocations: 0 / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.01461, allocations: 16.52 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.01801, allocations: 292.4 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.01809, allocations: 39.58 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.01813, allocations: 21.47 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.01815, allocations: 3.938 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.231e-05/0.01824, allocations: 73.02 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.01824, allocations: 0 / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002312/0.01847, allocations: 102.1 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01851, allocations: 55.98 kB / 0.7913 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.0186, allocations: 179.8 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.01861, allocations: 30.48 kB / 0.7915 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.01866, allocations: 138.9 kB / 0.7916 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.01869, allocations: 21.08 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.01873, allocations: 31.36 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01885, allocations: 0.4884 MB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.01888, allocations: 13.38 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.01894, allocations: 65.98 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.01904, allocations: 87.89 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01905, allocations: 8 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001554/0.0192, allocations: 91.14 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01922, allocations: 4 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01922, allocations: 9.141 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.01924, allocations: 0 / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.01934, allocations: 19.94 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01934, allocations: 4.844 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.0194, allocations: 11.94 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01941, allocations: 5.406 kB / 0.7924 GB, free: 6.781 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 8.503e-05/0.0195, allocations: 162.3 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.01952, allocations: 11.89 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.01955, allocations: 13.56 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01955, allocations: 3.984 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01955, allocations: 0 / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01956, allocations: 1.938 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.01991, allocations: 353.2 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01991, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.01995, allocations: 4 kB / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01995, allocations: 0 / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01996, allocations: 6.406 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01996, allocations: 4 kB / 0.793 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01996, allocations: 3.984 kB / 0.793 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.02017, allocations: 243.7 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.02019, allocations: 7.953 kB / 0.7932 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.0202, allocations: 0 / 0.7932 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.02029, allocations: 4.516 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.02033, allocations: 8.031 kB / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.02035, allocations: 13.92 kB / 0.7932 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.02041, allocations: 135.7 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02041, allocations: 0 / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003205/0.02073, allocations: 39.88 kB / 0.7934 GB, free: 5.727 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.003312/0.02404, allocations: 172.2 kB / 0.7936 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.02418, allocations: 55.58 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.02418, allocations: 0 / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.02422, allocations: 31.61 kB / 0.7936 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.02447, allocations: 17.67 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.02511, allocations: 187.6 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.02515, allocations: 60.47 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.02518, allocations: 4 kB / 0.7939 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.02521, allocations: 17.56 kB / 0.7939 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.02521, allocations: 0 / 0.7939 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.00698/0.03219, allocations: 1.503 MB / 0.7954 GB, free: 3.668 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.2510229321196675]