Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001057/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001059/0.001059, allocations: 194.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.2 MB / 0.5484 GB, free: 13.72 MB / 462.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.001266/0.001266, allocations: 62.02 kB / 0.6708 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2436, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002821/0.2465, allocations: 1.57 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.248, allocations: 0.7878 MB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.248, allocations: 3.938 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.2481, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.2482, allocations: 15.86 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.2487, allocations: 111.8 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.2488, allocations: 83.72 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.2489, allocations: 11.98 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.249, allocations: 35.91 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2491, allocations: 43.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2491, allocations: 8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2493, allocations: 91.84 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.2493, allocations: 23.91 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2494, allocations: 27.86 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.2496, allocations: 159.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2496, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2496, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2496, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 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.0006112/0.2502, allocations: 462.6 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2503, allocations: 8.031 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.2503, allocations: 8.844 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2504, allocations: 183.5 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2505, allocations: 8.359 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2505, allocations: 12.31 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.2507, allocations: 85.95 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2507, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2507, allocations: 3.984 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2508, allocations: 4 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.2509, allocations: 43.97 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.2515, allocations: 328.6 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.2516, allocations: 66.55 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2518, allocations: 44.84 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2518, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.252, allocations: 95.39 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.252, allocations: 0 / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004842/0.2525, allocations: 189.5 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2526, allocations: 59.41 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.2527, allocations: 129.7 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2527, allocations: 29.7 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.2528, allocations: 96.52 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2528, allocations: 23.73 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.2529, allocations: 33.7 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.253, allocations: 322.8 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.253, allocations: 27.98 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.2531, allocations: 77.08 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.2533, allocations: 113.9 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2533, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002405/0.2536, allocations: 129.3 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2536, allocations: 8.156 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2536, allocations: 4 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2536, allocations: 4 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.2537, allocations: 19.92 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2537, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.2538, allocations: 15.98 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2538, allocations: 4 kB / 0.7881 GB, free: 8.191 MB / 0.6075 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 9.272e-05/0.2539, allocations: 136.5 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.254, allocations: 11.91 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.254, allocations: 8.75 kB / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.254, allocations: 4.078 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.254, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.254, allocations: 7.984 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.2545, allocations: 430.2 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2545, allocations: 0 / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.2546, allocations: 4 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2546, allocations: 4 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2546, allocations: 7.984 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2546, allocations: 4 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2546, allocations: 3.938 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.2549, allocations: 247.4 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.255, allocations: 81.02 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.255, allocations: 4 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.2551, allocations: 8 kB / 0.789 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.2551, allocations: 11.92 kB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2552, allocations: 11.92 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.2552, allocations: 95.27 kB / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002985/0.2555, allocations: 36 kB / 0.7891 GB, free: 7 MB / 0.6075 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.0003207/0.2559, allocations: 170.6 kB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2561, allocations: 87.89 kB / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2561, allocations: 0 / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.2563, allocations: 51.91 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2565, allocations: 16.3 kB / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.257, allocations: 222 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2572, allocations: 0.6938 MB / 0.7903 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.2573, allocations: 8 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.2573, allocations: 19.36 kB / 0.7904 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2573, allocations: 3.938 kB / 0.7904 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of Templates: time 0.004032/0.2613, allocations: 1.618 MB / 0.792 GB, free: 4.09 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)