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 5.055/5.055, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002432/0.002432, allocations: 350.3 kB / 0.644 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.022/4.022, allocations: 410.7 MB / 1.112 GB, free: 5.887 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.001768/0.001768, allocations: 182.2 kB / 1.225 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008367/0.0008372, allocations: 12 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6211, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00141/0.6226, allocations: 1.211 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.6238, allocations: 0.7335 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.6238, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.6239, allocations: 3.984 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.6239, allocations: 16.52 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.6244, allocations: 101.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.6245, allocations: 71.78 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.6246, allocations: 12.73 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.6247, allocations: 40.56 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.6248, allocations: 40.83 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.6248, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.625, allocations: 83.84 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.625, allocations: 20.81 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.6251, allocations: 37.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.6252, allocations: 102.7 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.353e-06/0.6253, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6253, allocations: 0.5 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.678e-06/0.6253, allocations: 1.656 kB / 1.463 GB, free: 281.8 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.0004775/0.6258, allocations: 450.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6258, allocations: 20.84 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.6259, allocations: 7.906 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.626, allocations: 178.9 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.626, allocations: 5.234 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.626, allocations: 16.55 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.6263, allocations: 82.33 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-06/0.6263, allocations: 4.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6263, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-06/0.6263, allocations: 1.656 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.6265, allocations: 57.27 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.6271, allocations: 322.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.6273, allocations: 71.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.6274, allocations: 49.84 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.6275, allocations: 4.078 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.6277, allocations: 96.86 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.439e-06/0.6277, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0005731/0.6283, allocations: 199.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.6284, allocations: 55.41 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.6285, allocations: 128 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6285, allocations: 34.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.6285, allocations: 96.45 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.6286, allocations: 20.61 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-06/0.6286, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.6287, allocations: 323.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.6288, allocations: 28.83 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.6289, allocations: 86.92 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.629, allocations: 31.98 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-06/0.6291, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003224/0.6294, allocations: 143.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6294, allocations: 10 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.62e-06/0.6294, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6295, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.6296, allocations: 15.98 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6296, allocations: 3.953 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.6297, allocations: 20.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.6297, 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 8.697e-05/0.6298, allocations: 127.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.6299, allocations: 7.906 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.6299, allocations: 15.58 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.081e-06/0.6299, allocations: 2.297 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-06/0.6299, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-06/0.63, allocations: 3.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.6306, allocations: 431.5 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-06/0.6306, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.6306, allocations: 8.719 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.56e-06/0.6307, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.6307, allocations: 5.266 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.72e-06/0.6307, allocations: 7.953 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-06/0.6307, allocations: 3.938 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.6311, allocations: 246.6 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.6312, allocations: 88.95 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.6312, allocations: 7.938 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6313, allocations: 12.48 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.6314, allocations: 4.484 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.6314, allocations: 8.922 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.6315, allocations: 95.27 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6315, allocations: 2.438 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004126/0.6319, allocations: 47.98 kB / 1.467 GB, free: 277.9 MB / 0.8542 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.0003593/0.6323, allocations: 154.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.6327, allocations: 103 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.642e-06/0.6327, allocations: 0.75 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6329, allocations: 48.73 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.6332, allocations: 15.73 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.6337, allocations: 229.5 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.6338, allocations: 0.7023 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.6339, allocations: 4 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.6339, allocations: 11.44 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.452e-06/0.634, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004902/0.6389, allocations: 1.552 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB