Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.402/1.402, allocations: 287.4 MB / 302.6 MB, free: 8.348 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.0008512/0.0008512, allocations: 186.1 kB / 371.1 MB, free: 10.82 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.124/1.124, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0006888/0.0006888, allocations: 85.48 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 10.06 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001064/0.1386, allocations: 1.214 MB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.1395, allocations: 0.7346 MB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1395, allocations: 0 / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.1396, allocations: 3.938 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.1396, allocations: 11.92 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.14, allocations: 99.77 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.1401, allocations: 87.69 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.1402, allocations: 8 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.1402, allocations: 31.91 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.1403, allocations: 39.83 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1403, allocations: 8 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1405, allocations: 87.91 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.1405, allocations: 15.92 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1405, allocations: 45.62 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1406, allocations: 112 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1407, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1407, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1407, allocations: 0 / 0.9812 GB, free: 25.55 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.0003926/0.1411, allocations: 446.6 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1411, allocations: 8.031 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1411, allocations: 46.73 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.1412, allocations: 8.844 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.721e-05/0.1412, allocations: 172.2 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1413, allocations: 8.375 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1413, allocations: 8.359 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1415, allocations: 93.7 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1415, allocations: 4 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1415, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1415, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1416, allocations: 55.95 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.142, allocations: 332.6 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1422, allocations: 70.53 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.1422, allocations: 48.84 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1423, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.1424, allocations: 103.4 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1424, allocations: 0 / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003703/0.1428, allocations: 193.7 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.1429, allocations: 55.41 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.1429, allocations: 131.2 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.1429, allocations: 29.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.143, allocations: 100.2 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.143, allocations: 23.89 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.143, allocations: 4 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.143, allocations: 322.8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.1431, allocations: 31.98 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1432, allocations: 79.39 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1433, allocations: 113.9 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1433, allocations: 0 / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001955/0.1435, allocations: 137.4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1436, allocations: 8 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1436, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1436, allocations: 4 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1437, allocations: 23.86 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1437, allocations: 0 / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.1437, allocations: 24.05 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1438, allocations: 4 kB / 0.9837 GB, free: 22.64 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.695e-05/0.1438, allocations: 129.7 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1438, allocations: 7.906 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1439, allocations: 8.312 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1439, allocations: 4 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1439, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1439, allocations: 7.984 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.1443, allocations: 434.4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1443, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.1443, allocations: 4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1443, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1443, allocations: 7.984 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1443, allocations: 4 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1443, allocations: 3.938 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1446, allocations: 259.4 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.1446, allocations: 81.02 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1447, allocations: 4 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1447, allocations: 12.09 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1448, allocations: 19.91 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1448, allocations: 3.984 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.1448, allocations: 96.02 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1448, allocations: 0 / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002544/0.1451, allocations: 40 kB / 0.9848 GB, free: 21.44 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.0005265/0.1456, allocations: 0.8508 MB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1458, allocations: 96.02 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1459, allocations: 7.875 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.146, allocations: 59.91 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1462, allocations: 16.23 kB / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007592/0.147, allocations: 0.6522 MB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.147, allocations: 0.6967 MB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.1471, allocations: 7.984 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.1471, allocations: 23.44 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1471, allocations: 0 / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4655/0.6126, allocations: 2.636 MB / 0.9897 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.6128, allocations: 257.5 kB / 0.99 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.101, allocations: 2.5 kB / 0.99 GB, free: 16.15 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)