Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001607, allocations: 193.6 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 68.59 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002664/0.3303, allocations: 1.552 MB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3316, allocations: 0.7595 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.3316, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3317, allocations: 3.938 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.3318, allocations: 15.86 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3322, allocations: 111.8 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3323, allocations: 83.78 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.3324, allocations: 15.97 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.3325, allocations: 39.86 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.3326, allocations: 43.81 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3326, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.3328, allocations: 95.84 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3328, allocations: 15.92 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3329, allocations: 43.83 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3331, allocations: 151.9 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3331, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3331, allocations: 3.938 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3331, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 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.000587/0.3337, allocations: 458.6 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3338, allocations: 8.031 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3338, allocations: 8.844 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.334, allocations: 184.2 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.334, allocations: 4.375 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.334, allocations: 8.375 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3343, allocations: 89.94 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3343, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3343, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3343, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3345, allocations: 47.91 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.335, allocations: 328.7 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3352, allocations: 66.55 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3353, allocations: 40.84 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3353, allocations: 3.984 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.3356, allocations: 99.39 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.3356, allocations: 3.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004847/0.3361, allocations: 185.5 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3361, allocations: 59.41 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3362, allocations: 125.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3363, allocations: 29.7 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.3363, allocations: 92.38 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3364, allocations: 19.8 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3364, allocations: 37.66 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3365, allocations: 322.8 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.3366, allocations: 27.98 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3368, allocations: 77.98 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.337, allocations: 117.8 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.337, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.3372, allocations: 129.4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3373, allocations: 8 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3373, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3373, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3374, allocations: 19.92 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3374, allocations: 4.156 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.3375, allocations: 15.91 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3375, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 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 9.307e-05/0.3376, allocations: 136.3 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3376, allocations: 11.89 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3377, allocations: 8.453 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3377, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3377, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3377, allocations: 8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.3382, allocations: 430.9 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3382, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.3383, allocations: 7.984 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3383, allocations: 0 / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3383, allocations: 4.094 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3383, allocations: 3.938 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3383, allocations: 3.938 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.3387, allocations: 255.3 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.3387, allocations: 81.02 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3388, allocations: 7.984 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3389, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3389, allocations: 11.92 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3389, allocations: 8 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.339, allocations: 106.8 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.339, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003106/0.3393, allocations: 39.98 kB / 1.074 GB, free: 3.871 MB / 0.8262 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.0003094/0.3396, allocations: 168.6 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.3399, allocations: 91.92 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3399, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3401, allocations: 55.91 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3404, allocations: 12.92 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.3408, allocations: 213.6 kB / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3411, allocations: 0.6926 MB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3411, allocations: 4 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.3411, allocations: 11.44 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3412, allocations: 4 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.004135/0.3453, allocations: 1.594 MB / 1.077 GB, free: 0.9961 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)