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.0009049/0.0009049, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0008836/0.0008836, allocations: 185 kB / 24.09 MB, free: 416 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.9839/0.9839, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.803/1.803, allocations: 359 MB / 0.6055 GB, free: 10.89 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.643e-06/1.643e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.575e-05, allocations: 3.078 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002069/0.002085, allocations: 1.558 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.00367, allocations: 0.8004 MB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.003733, allocations: 1.5 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.003761, allocations: 7.875 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.003823, allocations: 13.09 kB / 0.7899 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.004295, allocations: 151.4 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.004397, allocations: 96.31 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.004471, allocations: 15.97 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004587, allocations: 65.22 kB / 0.7902 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.00464, allocations: 35.94 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004657, allocations: 11.94 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.004836, allocations: 140.6 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.004856, allocations: 19.97 kB / 0.7904 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.004888, allocations: 28.41 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005063, allocations: 159.5 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005065, allocations: 0.8125 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005066, allocations: 0 / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.005068, allocations: 0.9688 kB / 0.7905 GB, free: 9.148 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.0004112/0.00548, allocations: 495.5 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.005512, allocations: 12.56 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.005677, allocations: 34.02 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.00579, allocations: 140.5 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.005806, allocations: 7.469 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.005816, allocations: 4.375 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.005924, allocations: 78.91 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.005933, allocations: 4.172 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.00594, allocations: 384 / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005946, allocations: 3.938 kB / 0.7913 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.005977, allocations: 23.92 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.006246, allocations: 285 kB / 0.7916 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.006315, allocations: 48.8 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.006341, allocations: 23.61 kB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.006357, allocations: 4 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.391e-05/0.006441, allocations: 82.34 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.006442, allocations: 0 / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002045/0.006646, allocations: 137.8 kB / 0.7919 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.006672, allocations: 51.41 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.006748, allocations: 191.5 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006761, allocations: 29.7 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.006809, allocations: 147 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.006825, allocations: 11.84 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.006862, allocations: 48.97 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.00697, allocations: 0.4962 MB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.006987, allocations: 11.98 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.00703, allocations: 72.19 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.007101, allocations: 99.75 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007103, allocations: 0 / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.756e-05/0.007201, allocations: 103.2 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.007213, allocations: 11.94 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007217, allocations: 0.5312 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.007233, allocations: 5.375 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.007294, allocations: 27.92 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007298, allocations: 4 kB / 0.7931 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.00733, allocations: 13.09 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.007343, allocations: 4 kB / 0.7931 GB, free: 6.227 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 6.928e-05/0.007413, allocations: 173.5 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.007428, allocations: 19.88 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.007447, allocations: 10.19 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007449, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007451, allocations: 3.984 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007454, allocations: 0 / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.007705, allocations: 377.8 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007706, allocations: 4.875 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.007722, allocations: 3.938 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007724, allocations: 6.188 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.007731, allocations: 3.984 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007732, allocations: 0 / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007732, allocations: 0 / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.007879, allocations: 271.8 kB / 0.794 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-06/0.007887, allocations: 11.88 kB / 0.794 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007901, allocations: 4.531 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.007944, allocations: 4 kB / 0.794 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.007969, allocations: 11.42 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.007977, allocations: 7.984 kB / 0.794 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.008014, allocations: 135.1 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008014, allocations: 0 / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001803/0.008195, allocations: 39.94 kB / 0.7942 GB, free: 5.109 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.0002348/0.00843, allocations: 167.6 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.00853, allocations: 72.59 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008531, allocations: 1.438 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.008569, allocations: 35.83 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.008748, allocations: 30.2 kB / 0.7945 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.009111, allocations: 200 kB / 0.7947 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.009141, allocations: 63.28 kB / 0.7947 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.009166, allocations: 10.25 kB / 0.7947 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.009218, allocations: 82.19 kB / 0.7948 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.009218, allocations: 2.281 kB / 0.7948 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of Templates: time 0.003402/0.01262, allocations: 1.965 MB / 0.7967 GB, free: 2.492 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: 4.816823871806264]