Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001091/0.001091, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001513/0.001513, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.683/1.683, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005325/0.0005326, allocations: 14.09 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001776/0.2757, allocations: 1.195 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2771, allocations: 0.7114 MB / 0.7893 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.2772, allocations: 0 / 0.7893 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.2772, allocations: 7.938 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.2773, allocations: 19.8 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.2777, allocations: 91.77 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2778, allocations: 63.78 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.2779, allocations: 7.984 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.278, allocations: 23.92 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.2781, allocations: 39.83 kB / 0.7895 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2781, allocations: 4 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2783, allocations: 79.92 kB / 0.7896 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.2784, allocations: 11.92 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.2784, allocations: 41.69 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2786, allocations: 88.06 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2786, allocations: 0 / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2786, allocations: 0 / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2786, allocations: 4 kB / 0.7897 GB, free: 9.461 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.0006401/0.2793, allocations: 442.5 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2793, allocations: 8.031 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.2794, allocations: 30.56 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.2794, allocations: 7.906 kB / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2796, allocations: 178.9 kB / 0.7904 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2796, allocations: 11.94 kB / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2796, allocations: 4 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2798, allocations: 69.66 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2799, allocations: 0 / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2799, allocations: 0 / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2799, allocations: 3.984 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.28, allocations: 47.97 kB / 0.7905 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.2806, allocations: 304.7 kB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2807, allocations: 46.56 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.2808, allocations: 40.97 kB / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.2808, allocations: 8.062 kB / 0.7909 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.281, allocations: 79.38 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.281, allocations: 3.938 kB / 0.791 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004173/0.2815, allocations: 149.5 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2815, allocations: 55.39 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2816, allocations: 125.7 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.2817, allocations: 29.7 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.2817, allocations: 92.31 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2818, allocations: 15.8 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.2818, allocations: 0 / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2819, allocations: 322.8 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.282, allocations: 27.98 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.2821, allocations: 69.02 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.962e-05/0.2822, allocations: 31.98 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2822, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002295/0.2824, allocations: 117.4 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2825, allocations: 12.16 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2825, allocations: 3.938 kB / 0.792 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2825, allocations: 4 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.2826, allocations: 11.98 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2826, allocations: 11.89 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.2827, allocations: 4 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2827, allocations: 8 kB / 0.792 GB, free: 6.871 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,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 (11): * Single equations (assignments): 11 * 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 9.049e-05/0.2828, allocations: 129.8 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2828, allocations: 3.906 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.2828, allocations: 12.38 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2828, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2828, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2829, allocations: 3.953 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.2833, allocations: 378.8 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2833, allocations: 4 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.2834, allocations: 7.984 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2834, allocations: 0 / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2834, allocations: 0 / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2834, allocations: 3.953 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2834, allocations: 80 / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2837, allocations: 231.3 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.2837, allocations: 81.02 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.2838, allocations: 4 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.2838, allocations: 4 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.2839, allocations: 7.938 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2839, allocations: 4 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.284, allocations: 91.27 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.284, allocations: 4 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002941/0.2843, allocations: 39.98 kB / 0.793 GB, free: 5.781 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 (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.0008187/0.2851, allocations: 0.8094 MB / 0.7938 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2853, allocations: 79.83 kB / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2854, allocations: 320 / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2855, allocations: 39.98 kB / 0.7939 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.2857, allocations: 25.83 kB / 0.7939 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2868, allocations: 0.5965 MB / 0.7945 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2871, allocations: 0.6887 MB / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.2871, allocations: 4.188 kB / 0.7951 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.2872, allocations: 23.42 kB / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2872, allocations: 0 / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3004, allocations: 2.321 MB / 0.7974 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.3006, allocations: 240.1 kB / 0.7977 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.226, allocations: 0 / 0.7977 GB, free: 1.02 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) Environment - environmentSimulation: