Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.000864, allocations: 90.83 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.006293/0.006294, allocations: 172.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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 11.27 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002097/0.3437, allocations: 1.219 MB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3452, allocations: 0.7365 MB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3453, allocations: 3.938 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.3453, allocations: 0 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.3454, allocations: 15.88 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.3459, allocations: 107.8 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3461, allocations: 79.78 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.3462, allocations: 23.81 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3463, allocations: 35.86 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.3464, allocations: 47.81 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3464, allocations: 7.938 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.3466, allocations: 91.84 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3467, allocations: 15.98 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.3468, allocations: 61.5 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.347, allocations: 151.8 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3471, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3471, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3471, allocations: 0 / 1.077 GB, free: 4.918 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.0006291/0.3477, allocations: 450.6 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3478, allocations: 8.031 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3478, allocations: 12.84 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3479, allocations: 175.2 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.348, allocations: 12.36 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.348, allocations: 4.375 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3482, allocations: 89.95 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3483, allocations: 4 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3483, allocations: 7.969 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3483, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3485, allocations: 51.97 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.349, allocations: 332.5 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3492, allocations: 66.55 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3494, allocations: 44.84 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3494, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3496, allocations: 103.4 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.3496, allocations: 0 / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005326/0.3502, allocations: 197.7 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3502, allocations: 67.55 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3504, allocations: 121.8 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3504, allocations: 29.7 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.3505, allocations: 92.36 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3505, allocations: 19.72 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3505, allocations: 25.7 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3507, allocations: 326.8 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.3508, allocations: 35.92 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3509, allocations: 73.98 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3511, allocations: 113.9 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3511, allocations: 0 / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002884/0.3514, allocations: 145.4 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3514, allocations: 9.875 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3514, allocations: 0 / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3515, allocations: 4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.3516, allocations: 19.92 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3516, allocations: 4 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.3516, allocations: 16.06 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3517, allocations: 4 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 0.0001064/0.3518, allocations: 133.7 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3518, allocations: 4 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3518, allocations: 8.375 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3518, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3519, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3519, allocations: 4 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.3525, allocations: 446.2 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3525, allocations: 0 / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.3526, allocations: 7.984 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3526, allocations: 4.094 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3526, allocations: 0 / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3526, allocations: 7.984 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3526, allocations: 7.922 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.353, allocations: 255.5 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3531, allocations: 89 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3531, allocations: 4 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3532, allocations: 8 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.3533, allocations: 15.92 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3533, allocations: 4 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.3534, allocations: 91.27 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.714e-06/0.3534, allocations: 4 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003355/0.3537, allocations: 43.92 kB / 1.08 GB, free: 0.8125 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.0003603/0.3541, allocations: 162.8 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3544, allocations: 91.89 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3544, allocations: 0 / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3546, allocations: 64.2 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3548, allocations: 16.2 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.3553, allocations: 229 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3556, allocations: 0.6926 MB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.3557, allocations: 7.984 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.3557, allocations: 15.44 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3557, allocations: 0 / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.004426/0.3601, allocations: 1.601 MB / 1.083 GB, free: 13.91 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)