Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.857/4.857, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002458/0.002457, allocations: 362.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.131/4.131, allocations: 410.7 MB / 1.113 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001763, allocations: 179.8 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7228, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001733/0.7246, allocations: 1.208 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.7261, allocations: 0.7344 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.7262, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.7263, allocations: 0.6562 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.7263, allocations: 8.5 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.7269, allocations: 104.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.727, allocations: 75.77 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.7271, allocations: 13.42 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.7273, allocations: 40.84 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.7274, allocations: 35.89 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.7274, allocations: 4 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.7276, allocations: 88.83 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.7276, allocations: 19.91 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.7277, allocations: 40.45 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.7279, allocations: 109.9 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7279, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7279, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7279, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 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.0005772/0.7285, allocations: 446.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7286, allocations: 13.88 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.7286, allocations: 11.84 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.7287, allocations: 178.9 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.7288, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.7288, allocations: 12 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.7292, allocations: 85.64 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7292, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.7292, allocations: 4.625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7292, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.7295, allocations: 55.19 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.7301, allocations: 317.9 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.7303, allocations: 75.98 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.7305, allocations: 45.66 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.7306, allocations: 7.984 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.7308, allocations: 97.25 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.7309, allocations: 1.031 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0007163/0.7316, allocations: 199 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7316, allocations: 64.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.7317, allocations: 124 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.7318, allocations: 34.34 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.7318, allocations: 92.94 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.7319, allocations: 15.81 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.7319, allocations: 5.25 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.732, allocations: 322.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7321, allocations: 25.77 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.7322, allocations: 87.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.7324, allocations: 37.67 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7324, allocations: 1.812 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003805/0.7328, allocations: 139.7 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7328, allocations: 10 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7329, allocations: 3.938 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7329, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.7331, allocations: 15.98 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.7331, allocations: 11.89 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.7332, allocations: 14 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.7332, allocations: 8 kB / 1.466 GB, free: 279.1 MB / 0.8542 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.283e-05/0.7333, allocations: 122.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7334, allocations: 11.89 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.7334, allocations: 13.75 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7334, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7334, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.7335, allocations: 85.48 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.7335, allocations: 5.344 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.7337, allocations: 11.98 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.7337, allocations: 8.484 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005021/0.7342, allocations: 227.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004917/0.7347, allocations: 333.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001742/0.7349, allocations: 56.72 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.735, allocations: 91.95 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of Backend: time 7.11e-07/0.735, allocations: 1.219 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008057/0.7358, allocations: 194.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004358/0.7363, allocations: 0.6475 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.005148/0.7414, allocations: 1.479 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB