Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 170.5 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006548/0.0006548, allocations: 86.72 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 7.906 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001517/0.1732, allocations: 1.239 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1743, allocations: 0.7883 MB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.1743, allocations: 7.938 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1744, allocations: 3.938 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.1744, allocations: 7.875 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1748, allocations: 107.8 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.1749, allocations: 63.78 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.175, allocations: 24.16 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.1751, allocations: 23.92 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.1751, allocations: 31.84 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1751, allocations: 0 / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1753, allocations: 95.84 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1753, allocations: 15.91 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1753, allocations: 31.86 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1755, allocations: 127.7 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1755, allocations: 0 / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1755, allocations: 0 / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.1755, allocations: 4 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003906/0.1759, allocations: 446.5 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.176, allocations: 12.03 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.176, allocations: 30.75 kB / 0.8992 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.176, allocations: 4.938 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.069e-05/0.1761, allocations: 176.1 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1761, allocations: 12.36 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1761, allocations: 4.375 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1763, allocations: 81.56 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1763, allocations: 0 / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1763, allocations: 4 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1763, allocations: 4 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1765, allocations: 43.91 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1768, allocations: 304.8 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1769, allocations: 50.56 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.177, allocations: 40.97 kB / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.177, allocations: 0 / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1772, allocations: 83.3 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.1772, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003373/0.1776, allocations: 161.6 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1776, allocations: 55.41 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.1777, allocations: 120.6 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1777, allocations: 33.69 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1777, allocations: 96.05 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.1777, allocations: 7.906 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1778, allocations: 21.7 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.1778, allocations: 326.8 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.1779, allocations: 31.91 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1779, allocations: 68.95 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1781, allocations: 97.06 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1781, allocations: 0 / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001745/0.1783, allocations: 125.4 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1783, allocations: 10.5 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1783, allocations: 0 / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1783, allocations: 0 / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.1784, allocations: 15.94 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1784, allocations: 12.14 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.1785, allocations: 11.84 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1785, allocations: 7.938 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 5.969e-05/0.1785, allocations: 115.2 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1786, allocations: 11.91 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.1786, allocations: 12.36 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1786, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1786, allocations: 4 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1786, allocations: 4.031 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.1789, allocations: 398.4 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.179, allocations: 0 / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.179, allocations: 4 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.179, allocations: 0 / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.179, allocations: 15.98 kB / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.179, allocations: 3.938 kB / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.179, allocations: 0 / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1793, allocations: 215.3 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.1793, allocations: 85.02 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1793, allocations: 7.984 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1794, allocations: 11.94 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1794, allocations: 7.984 kB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1794, allocations: 0 / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.1795, allocations: 95.27 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1795, allocations: 0 / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002482/0.1797, allocations: 39.94 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005311/0.1803, allocations: 0.8263 MB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1805, allocations: 75.91 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1805, allocations: 0 / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.1806, allocations: 39.97 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1808, allocations: 12.25 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1819, allocations: 1.546 MB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.182, allocations: 0.6887 MB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.1821, allocations: 4 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1821, allocations: 23.42 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1821, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.351/0.5331, allocations: 2.426 MB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.5334, allocations: 298.1 kB / 0.9079 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.642, allocations: 0 / 0.9079 GB, free: 55.69 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)