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.001066/0.001066, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001015/0.001015, allocations: 169 kB / 24.28 MB, free: 280 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.9519/0.9519, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.795/1.795, 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.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.933e-06/1.933e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.094e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002174/0.002205, allocations: 1.551 MB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003396, allocations: 0.7774 MB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003497, allocations: 3.938 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.003531, allocations: 11.11 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.00359, allocations: 15.81 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.004244, allocations: 139.5 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004364, allocations: 75.7 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004471, allocations: 8.172 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.004627, allocations: 51.89 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.004678, allocations: 28.92 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.004696, allocations: 4 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.004945, allocations: 139.7 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.004966, allocations: 12.58 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.005008, allocations: 25.19 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005253, allocations: 147.5 kB / 0.79 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005256, allocations: 0 / 0.79 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005257, allocations: 0 / 0.79 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.005263, allocations: 1.594 kB / 0.79 GB, free: 9.855 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.0005433/0.005806, allocations: 471.6 kB / 0.7904 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.005849, allocations: 8.031 kB / 0.7904 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.006048, allocations: 26.41 kB / 0.7905 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.006218, allocations: 136.4 kB / 0.7906 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.006242, allocations: 8.375 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.006257, allocations: 5.969 kB / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.006412, allocations: 70.92 kB / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.006418, allocations: 192 / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.006431, allocations: 4.125 kB / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006438, allocations: 6.062 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.006474, allocations: 11.98 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.006809, allocations: 287.7 kB / 0.791 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.006881, allocations: 42.98 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.006916, allocations: 24.31 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.006937, allocations: 8.656 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.106e-05/0.007028, allocations: 65.05 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.00703, allocations: 0.5 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002409/0.007271, allocations: 107.2 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.007307, allocations: 55.41 kB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.007413, allocations: 181.9 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007425, allocations: 25.7 kB / 0.7915 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.007481, allocations: 147.4 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.007496, allocations: 7.906 kB / 0.7916 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.007535, allocations: 36.27 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003707/0.007906, allocations: 0.4884 MB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.007934, allocations: 12.67 kB / 0.7921 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.00798, allocations: 62.11 kB / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.976e-05/0.00806, allocations: 83.97 kB / 0.7923 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008062, allocations: 1.125 kB / 0.7923 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001173/0.008179, allocations: 102.2 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.008192, allocations: 5.875 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008197, allocations: 0.5312 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.008209, allocations: 4.844 kB / 0.7924 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.008292, allocations: 15.98 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.0083, allocations: 10 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.008337, allocations: 11.95 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.008347, allocations: 4 kB / 0.7924 GB, free: 7.105 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.327e-05/0.00842, allocations: 168.5 kB / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.008436, allocations: 16.39 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.008459, allocations: 12.44 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008462, allocations: 2.531 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.008465, allocations: 0 / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008469, allocations: 48 / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.008735, allocations: 353.3 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008737, allocations: 0 / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.008761, allocations: 7.984 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008764, allocations: 0 / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.008773, allocations: 5.75 kB / 0.793 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008774, allocations: 0 / 0.793 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008776, allocations: 0 / 0.793 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.008931, allocations: 247.7 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.008941, allocations: 7.953 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.008957, allocations: 4.531 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.009001, allocations: 0.5625 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.009043, allocations: 8.703 kB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.00905, allocations: 0 / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.009098, allocations: 146.2 kB / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009098, allocations: 0 / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002339/0.009332, allocations: 41.02 kB / 0.7934 GB, free: 6.047 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.000353/0.009685, allocations: 173.8 kB / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.00981, allocations: 55.3 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009812, allocations: 4 kB / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.009855, allocations: 27.61 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01006, allocations: 22.22 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.01065, allocations: 187.9 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.01069, allocations: 57.42 kB / 0.7939 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.01072, allocations: 9.016 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.01075, allocations: 13.62 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/0.01075, allocations: 0 / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.003391/0.01414, allocations: 1.501 MB / 0.7954 GB, free: 3.984 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: 5.16389762586914]