Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.451/1.451, allocations: 288.4 MB / 303.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 190.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006628/0.000663, allocations: 86.31 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 11.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001073/0.1388, allocations: 1.207 MB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.1397, allocations: 0.7422 MB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1398, allocations: 0 / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1398, allocations: 3.938 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.1398, allocations: 11.91 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1403, allocations: 103.8 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.273e-05/0.1404, allocations: 83.7 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.1405, allocations: 4 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.1405, allocations: 39.89 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.1406, allocations: 35.84 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1406, allocations: 4 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1407, allocations: 91.84 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1408, allocations: 15.97 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.1408, allocations: 65.55 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1409, allocations: 112 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1409, allocations: 0 / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1409, allocations: 0 / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.1409, allocations: 3.938 kB / 0.9826 GB, free: 24.67 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.0003719/0.1413, allocations: 442.7 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1414, allocations: 8.031 kB / 0.9831 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.1414, allocations: 46.67 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.1414, allocations: 8.844 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.475e-05/0.1415, allocations: 172.2 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1415, allocations: 8.375 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1415, allocations: 8.359 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1417, allocations: 93.7 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1417, allocations: 4 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1417, allocations: 0 / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1417, allocations: 4 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1419, allocations: 59.94 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1422, allocations: 320.7 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1424, allocations: 74.58 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.1425, allocations: 45 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1425, allocations: 3.984 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1427, allocations: 99.36 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1427, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.1431, allocations: 193.5 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1431, allocations: 59.34 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.1432, allocations: 132 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1432, allocations: 29.7 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.1432, allocations: 96.27 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1432, allocations: 19.75 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.1432, allocations: 4.375 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.1433, allocations: 322.8 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.1433, allocations: 27.98 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.1434, allocations: 84.52 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1436, allocations: 121.7 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1436, allocations: 4 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001947/0.1438, allocations: 133.5 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1438, allocations: 9.562 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1438, allocations: 0 / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1438, allocations: 4 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.1439, allocations: 19.92 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1439, allocations: 0 / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.144, allocations: 19.89 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.144, allocations: 4.094 kB / 0.9852 GB, free: 21.77 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 5.561e-05/0.1441, allocations: 133.7 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.1441, allocations: 7.906 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.1441, allocations: 4.375 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1441, allocations: 4 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1441, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1441, allocations: 3.984 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.1445, allocations: 446.3 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1445, allocations: 0 / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.1445, allocations: 4 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1446, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1446, allocations: 7.984 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1446, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1446, allocations: 3.938 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1448, allocations: 259.3 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.1449, allocations: 81.11 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1449, allocations: 7.984 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.145, allocations: 4 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.145, allocations: 19.92 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.145, allocations: 4.172 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.1451, allocations: 99.27 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1451, allocations: 3.938 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002404/0.1453, allocations: 36 kB / 0.9863 GB, free: 20.56 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.0005415/0.1459, allocations: 0.8511 MB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1461, allocations: 99.89 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1461, allocations: 4 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.1462, allocations: 47.97 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1464, allocations: 24.08 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.1472, allocations: 0.6573 MB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.817e-05/0.1473, allocations: 0.6971 MB / 0.9886 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.1473, allocations: 7.984 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1474, allocations: 23.44 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1474, allocations: 0 / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/0.4159, allocations: 2.658 MB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.4162, allocations: 258.4 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.985, allocations: 10.59 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)