Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009444, 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.0009276/0.0009277, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.101/1.101, allocations: 205.1 MB / 222 MB, free: 4.719 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.515/1.515, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001264/0.001264, allocations: 63.88 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002209/0.1642, allocations: 1.554 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1653, allocations: 0.7605 MB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.1653, allocations: 4 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.1653, allocations: 3.938 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.1654, allocations: 11.92 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1658, allocations: 99.77 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.572e-05/0.1658, allocations: 67.72 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.1659, allocations: 15.98 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.166, allocations: 27.92 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.166, allocations: 27.91 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1661, allocations: 4 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1662, allocations: 91.84 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1663, allocations: 11.92 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.1663, allocations: 35.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1665, allocations: 131.9 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1665, allocations: 0 / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.52e-07/0.1665, allocations: 0 / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.1665, allocations: 0 / 0.7856 GB, free: 11.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000483/0.167, allocations: 446.7 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.167, allocations: 15.91 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.1671, allocations: 38.69 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1671, allocations: 4.844 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.1672, allocations: 180.2 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1672, allocations: 12.36 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1672, allocations: 4.375 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1674, allocations: 73.78 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1674, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1674, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1674, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1676, allocations: 39.91 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.168, allocations: 300.7 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1681, allocations: 50.56 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1682, allocations: 28.97 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1682, allocations: 4 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1684, allocations: 79.31 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1684, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003519/0.1687, allocations: 137.6 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1688, allocations: 51.41 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.1689, allocations: 129.7 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1689, allocations: 25.7 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.1689, allocations: 92.12 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.169, allocations: 15.88 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.169, allocations: 33.7 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.1691, allocations: 322.8 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.1692, allocations: 23.97 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.1693, allocations: 65.45 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1694, allocations: 89.06 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1694, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002002/0.1696, allocations: 113.6 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1696, allocations: 12.03 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1696, allocations: 0 / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.1697, allocations: 0 / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.1697, allocations: 19.94 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1698, allocations: 3.984 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.1698, allocations: 4 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1698, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 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.pDown,$PRE.bli.pDown,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 7.249e-05/0.1699, allocations: 126.4 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1699, allocations: 11.91 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.17, allocations: 12.36 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.17, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.17, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.17, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.1704, allocations: 382.4 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1704, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.1704, allocations: 4 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1704, allocations: 4 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1704, allocations: 7.984 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1705, allocations: 3.938 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1705, allocations: 4 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1707, allocations: 207.4 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1708, allocations: 92.98 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1708, allocations: 0 / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.1709, allocations: 15.94 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1709, allocations: 3.984 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1709, allocations: 4 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.171, allocations: 99.36 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002659/0.1713, allocations: 36 kB / 0.7888 GB, free: 7.332 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,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.0006477/0.1719, allocations: 0.7982 MB / 0.7896 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1721, allocations: 75.81 kB / 0.7897 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1721, allocations: 4.312 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.1722, allocations: 31.98 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1725, allocations: 19.86 kB / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1738, allocations: 1.508 MB / 0.7912 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.174, allocations: 0.6887 MB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.174, allocations: 7.984 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1741, allocations: 15.44 kB / 0.7919 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1741, allocations: 0 / 0.7919 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/1.197, allocations: 2.419 MB / 0.7943 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/1.197, allocations: 257.7 kB / 0.7945 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/3.051, allocations: 0 / 0.7945 GB, free: 1.488 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)