Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001645/0.001645, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001936/0.001936, allocations: 169 kB / 24.28 MB, free: 276 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 1.089/1.089, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.852/1.852, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.67e-05, allocations: 2.859 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001984/0.00201, allocations: 1.563 MB / 0.7886 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003124, allocations: 0.8014 MB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.003186, allocations: 0 / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.003214, allocations: 7.922 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.00328, allocations: 20.72 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.003803, allocations: 148 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.003922, allocations: 99.69 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.004011, allocations: 5.25 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004151, allocations: 71.8 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.004209, allocations: 31.89 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.004229, allocations: 10.09 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.004439, allocations: 143.7 kB / 0.7899 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.004461, allocations: 23.91 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.0045, allocations: 19.98 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.004726, allocations: 167.4 kB / 0.7901 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004728, allocations: 2.125 kB / 0.7901 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004729, allocations: 0 / 0.7901 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004733, allocations: 0 / 0.7901 GB, free: 9.762 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004971/0.00523, allocations: 487.5 kB / 0.7906 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.005268, allocations: 12.03 kB / 0.7906 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.005481, allocations: 33.59 kB / 0.7906 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.005637, allocations: 137 kB / 0.7907 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.005661, allocations: 10.03 kB / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.005674, allocations: 4.375 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.005826, allocations: 90.83 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005832, allocations: 192 / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005844, allocations: 1.031 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.005854, allocations: 7.938 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.005901, allocations: 25.05 kB / 0.7909 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.006266, allocations: 303.6 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.006369, allocations: 48.2 kB / 0.7912 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.006411, allocations: 27.67 kB / 0.7912 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.006429, allocations: 5.469 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.699e-05/0.006526, allocations: 88.89 kB / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.006527, allocations: 0 / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002723/0.0068, allocations: 143.3 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.006835, allocations: 59.39 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.006927, allocations: 189.8 kB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.006941, allocations: 29.7 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.007138, allocations: 139.1 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.007162, allocations: 29.19 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.007202, allocations: 35.38 kB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.007312, allocations: 0.4923 MB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.007343, allocations: 19.11 kB / 0.7924 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.007396, allocations: 80.27 kB / 0.7925 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.206e-05/0.007488, allocations: 105.7 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.007491, allocations: 0 / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001313/0.007622, allocations: 115.8 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007635, allocations: 4 kB / 0.7927 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00764, allocations: 4 kB / 0.7927 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.007655, allocations: 7.984 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.007737, allocations: 22.5 kB / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.007745, allocations: 7.922 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.00778, allocations: 7.953 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.00779, allocations: 4 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.755e-05/0.007868, allocations: 176.4 kB / 0.7929 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.007885, allocations: 11.89 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.00791, allocations: 16.42 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007912, allocations: 0.8438 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007916, allocations: 0 / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007919, allocations: 1.281 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.008237, allocations: 401.2 kB / 0.7933 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008239, allocations: 0 / 0.7933 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.008266, allocations: 12.77 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008268, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.008277, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008279, allocations: 0.9062 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008281, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008463, allocations: 285.2 kB / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.00847, allocations: 3.953 kB / 0.7936 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.008491, allocations: 7.984 kB / 0.7936 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.00854, allocations: 0 / 0.7936 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.008579, allocations: 14.27 kB / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.008587, allocations: 7.938 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.008633, allocations: 139.1 kB / 0.7938 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008633, allocations: 4 kB / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002218/0.008855, allocations: 39.92 kB / 0.7938 GB, free: 5.613 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003046/0.009159, allocations: 184.2 kB / 0.794 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.009293, allocations: 64.66 kB / 0.7941 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009294, allocations: 1 kB / 0.7941 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.009353, allocations: 39.66 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.009569, allocations: 26.52 kB / 0.7941 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.01009, allocations: 199.9 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.01013, allocations: 59.84 kB / 0.7944 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.01016, allocations: 10.06 kB / 0.7944 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.01019, allocations: 12.5 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01019, allocations: 0.9688 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.003672/0.01386, allocations: 1.77 MB / 0.7961 GB, free: 3.242 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.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.241501419106498]