Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.575/2.575, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 184.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 80.5 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 10.41 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002515/0.2313, allocations: 1.195 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2334, allocations: 0.7386 MB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.2335, allocations: 0 / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.2336, allocations: 3.938 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.2337, allocations: 15.97 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.2345, allocations: 99.69 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2346, allocations: 51.92 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2348, allocations: 8 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2349, allocations: 39.83 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2351, allocations: 35.91 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2351, allocations: 15.88 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.2354, allocations: 75.86 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.2355, allocations: 15.92 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2356, allocations: 33.7 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.2359, allocations: 112 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.886e-06/0.2359, allocations: 4 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.008e-06/0.2359, allocations: 0 / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.236, allocations: 0 / 0.9811 GB, free: 25.71 MB / 0.6198 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.0007894/0.2368, allocations: 442.5 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2369, allocations: 12.02 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.2369, allocations: 11.84 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2371, allocations: 178.9 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.2372, allocations: 8 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.2372, allocations: 4 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.2377, allocations: 85.64 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2377, allocations: 4 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.2378, allocations: 3.984 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.488e-06/0.2378, allocations: 4 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.2382, allocations: 51.91 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.2391, allocations: 328.7 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.2395, allocations: 70.53 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.2395, allocations: 4 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.24, allocations: 99.39 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 4.236e-06/0.24, allocations: 0 / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001076/0.2411, allocations: 193.7 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2412, allocations: 59.45 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2413, allocations: 133.7 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2414, allocations: 37.7 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.2415, allocations: 84.38 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.2415, allocations: 23.73 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.2416, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.2417, allocations: 326.8 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.2419, allocations: 23.98 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2422, allocations: 84.31 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.2424, allocations: 36 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.597e-06/0.2424, allocations: 4 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007163/0.2432, allocations: 137.4 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2432, allocations: 8 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2432, allocations: 0 / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.2433, allocations: 4 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2436, allocations: 28.08 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.2436, allocations: 7.953 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2438, allocations: 7.906 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.2439, allocations: 8 kB / 0.9835 GB, free: 23 MB / 0.6198 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 0.000178/0.2441, allocations: 130.7 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2442, allocations: 7.906 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.2442, allocations: 16.31 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-06/0.2443, allocations: 4 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.33e-06/0.2443, allocations: 0 / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.365e-06/0.2443, allocations: 3.953 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2456, allocations: 430.6 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.039e-06/0.2457, allocations: 3.984 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2458, allocations: 8 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.727e-06/0.2458, allocations: 4 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.2459, allocations: 7.984 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.467e-06/0.2459, allocations: 3.953 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.402e-06/0.2459, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.2468, allocations: 251.4 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.2469, allocations: 93 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.247, allocations: 0 / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2473, allocations: 12 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.2474, allocations: 11.94 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.2475, allocations: 4 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2476, allocations: 93.02 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.038e-06/0.2476, allocations: 0 / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00101/0.2486, allocations: 47.98 kB / 0.9846 GB, free: 21.8 MB / 0.6198 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.0006806/0.2494, allocations: 160.4 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.2501, allocations: 104.1 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.892e-06/0.2501, allocations: 0 / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.2504, allocations: 51.91 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.251, allocations: 8 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.252, allocations: 229.1 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.2523, allocations: 0.7004 MB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.2524, allocations: 4.281 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.2525, allocations: 11.44 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.536e-06/0.2525, allocations: 4 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.00788/0.2604, allocations: 1.568 MB / 0.9874 GB, free: 18.94 MB / 0.6198 GB