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.001016/0.001016, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007914/0.007914, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 12.66 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3306, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001861/0.3325, allocations: 1.227 MB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3339, allocations: 0.7363 MB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.334, allocations: 3.938 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.334, allocations: 0 / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.3341, allocations: 11.88 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.3347, allocations: 111.8 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3349, allocations: 87.77 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.335, allocations: 19.95 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3351, allocations: 31.86 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.3352, allocations: 47.81 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3352, allocations: 4 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.3355, allocations: 95.84 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.3355, allocations: 15.92 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.3356, allocations: 61.56 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3358, allocations: 147.8 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3359, allocations: 4 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.639e-06/0.3359, allocations: 4 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.3359, allocations: 3.938 kB / 1.077 GB, free: 4.914 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.0006345/0.3365, allocations: 448.2 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3366, allocations: 8.031 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3366, allocations: 8.844 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3368, allocations: 168.3 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3368, allocations: 12.31 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3368, allocations: 8.359 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3371, allocations: 93.89 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3371, allocations: 0 / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3371, allocations: 0 / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3371, allocations: 8 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3373, allocations: 51.95 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3379, allocations: 332.5 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3381, allocations: 74.55 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3382, allocations: 40.84 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3382, allocations: 4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3385, allocations: 99.39 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3385, allocations: 0 / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005027/0.339, allocations: 193.5 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3391, allocations: 55.41 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3392, allocations: 133.3 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3392, allocations: 29.7 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3392, allocations: 92.36 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3393, allocations: 19.72 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.3393, allocations: 25.7 kB / 1.078 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.3394, allocations: 322.8 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.3395, allocations: 35.92 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3396, allocations: 74 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3398, allocations: 117.9 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3398, allocations: 3.938 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00026/0.3401, allocations: 145.8 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3401, allocations: 5.719 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3401, allocations: 4 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3401, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.3402, allocations: 23.86 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3403, allocations: 4 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.3403, allocations: 11.91 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3404, allocations: 12.12 kB / 1.079 GB, free: 2.027 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.735e-05/0.3405, allocations: 129.7 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3405, allocations: 4.078 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.3405, allocations: 12.38 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3405, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3405, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3405, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.3411, allocations: 450.4 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3411, allocations: 3.984 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.3411, allocations: 4 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3411, allocations: 0 / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3412, allocations: 11.98 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3412, allocations: 4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3412, allocations: 3.938 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.3415, allocations: 251.3 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.3416, allocations: 85.02 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3416, allocations: 0 / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3417, allocations: 12 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.3418, allocations: 11.92 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3418, allocations: 7.984 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.3419, allocations: 95.27 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3419, allocations: 0 / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000332/0.3422, allocations: 40 kB / 1.08 GB, free: 0.8242 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.0003781/0.3426, allocations: 174.7 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3429, allocations: 95.89 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3429, allocations: 0 / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.343, allocations: 51.91 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3433, allocations: 20.3 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3438, allocations: 219.1 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.344, allocations: 0.6926 MB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.3441, allocations: 4.188 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3441, allocations: 11.44 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of SimCode: time 1.553e-06/0.3441, allocations: 0 / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.00435/0.3485, allocations: 1.586 MB / 1.083 GB, free: 13.94 MB / 0.8419 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)