Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00101/0.00101, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 252 MB / 0.5102 GB, free: 4.867 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005336, allocations: 12 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6254, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001821/0.6272, allocations: 1.211 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.6285, allocations: 0.7528 MB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.6286, allocations: 0 / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.6286, allocations: 3.938 kB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.823e-05/0.6287, allocations: 11.92 kB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.6292, allocations: 99.75 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.6294, allocations: 83.7 kB / 0.7302 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.6295, allocations: 16 kB / 0.7302 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.6296, allocations: 31.91 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.6296, allocations: 39.83 kB / 0.7303 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.6297, allocations: 4 kB / 0.7303 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.6299, allocations: 87.84 kB / 0.7304 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.6299, allocations: 11.98 kB / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.6299, allocations: 41.64 kB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.6301, allocations: 109.8 kB / 0.7306 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6301, allocations: 0 / 0.7306 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6301, allocations: 4 kB / 0.7306 GB, free: 8.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.6302, allocations: 4 kB / 0.7306 GB, free: 8.91 MB / 0.545 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.0005946/0.6308, allocations: 442.4 kB / 0.731 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6308, allocations: 11.97 kB / 0.731 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.6309, allocations: 11.84 kB / 0.731 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.631, allocations: 175 kB / 0.7312 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.631, allocations: 15.94 kB / 0.7312 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.6311, allocations: 4 kB / 0.7312 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6313, allocations: 93.62 kB / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6313, allocations: 0 / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.6313, allocations: 0 / 0.7313 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6313, allocations: 4 kB / 0.7313 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.6315, allocations: 47.97 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.6321, allocations: 332.6 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.6323, allocations: 70.53 kB / 0.7317 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.6324, allocations: 48.84 kB / 0.7318 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.6324, allocations: 3.984 kB / 0.7318 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.6326, allocations: 103.4 kB / 0.7319 GB, free: 7.395 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.6326, allocations: 0 / 0.7319 GB, free: 7.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005151/0.6331, allocations: 197.4 kB / 0.732 GB, free: 7.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.6332, allocations: 55.39 kB / 0.7321 GB, free: 7.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6333, allocations: 128.3 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6333, allocations: 33.69 kB / 0.7323 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.6334, allocations: 92.31 kB / 0.7323 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.6334, allocations: 23.86 kB / 0.7324 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.6334, allocations: 4 kB / 0.7324 GB, free: 6.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002488/0.6337, allocations: 327.2 kB / 0.7327 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.6338, allocations: 23.98 kB / 0.7327 GB, free: 6.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.6339, allocations: 77.98 kB / 0.7328 GB, free: 6.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.634, allocations: 39.92 kB / 0.7328 GB, free: 6.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.634, allocations: 3.938 kB / 0.7328 GB, free: 6.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002448/0.6343, allocations: 141.5 kB / 0.733 GB, free: 6.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6343, allocations: 8 kB / 0.733 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6343, allocations: 0 / 0.733 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6343, allocations: 4 kB / 0.733 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.6344, allocations: 23.92 kB / 0.733 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6344, allocations: 3.953 kB / 0.733 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.6345, allocations: 15.84 kB / 0.733 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.6345, allocations: 8.125 kB / 0.733 GB, free: 6.137 MB / 0.545 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.6346, allocations: 129.7 kB / 0.7331 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.6346, allocations: 7.984 kB / 0.7331 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.6347, allocations: 8.375 kB / 0.7332 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6347, allocations: 4 kB / 0.7332 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6347, allocations: 0 / 0.7332 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6347, allocations: 3.953 kB / 0.7332 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.6352, allocations: 434.3 kB / 0.7336 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6352, allocations: 0 / 0.7336 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.6353, allocations: 7.984 kB / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6353, allocations: 0 / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6353, allocations: 4 kB / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6353, allocations: 3.953 kB / 0.7336 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6353, allocations: 0 / 0.7336 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.6356, allocations: 259.3 kB / 0.7338 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.6357, allocations: 84.95 kB / 0.7339 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.6357, allocations: 7.984 kB / 0.7339 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.6358, allocations: 8 kB / 0.7339 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.6359, allocations: 15.94 kB / 0.734 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6359, allocations: 0 / 0.734 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.636, allocations: 95.45 kB / 0.734 GB, free: 4.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.636, allocations: 0 / 0.734 GB, free: 4.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003029/0.6363, allocations: 47.92 kB / 0.7341 GB, free: 4.938 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003365/0.6366, allocations: 170.4 kB / 0.7343 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.6369, allocations: 95.89 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6369, allocations: 0 / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.637, allocations: 51.91 kB / 0.7344 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.6373, allocations: 19.11 kB / 0.7344 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.6377, allocations: 211.1 kB / 0.7346 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.638, allocations: 0.6965 MB / 0.7353 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.6381, allocations: 7.984 kB / 0.7353 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6381, allocations: 11.44 kB / 0.7353 GB, free: 3.641 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.6381, allocations: 192 / 0.7353 GB, free: 3.641 MB / 0.545 GB Notification: Performance of Templates: time 0.004508/0.6426, allocations: 1.566 MB / 0.7368 GB, free: 2.094 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: