Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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 2.706/2.706, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001324/0.001324, allocations: 180.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009134/0.0009131, allocations: 94.75 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 11.22 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001727/0.2206, allocations: 1.195 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.222, allocations: 0.7151 MB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.2221, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.2221, allocations: 4 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.2222, allocations: 15.86 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.2227, allocations: 83.83 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2229, allocations: 63.72 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.223, allocations: 8 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.2231, allocations: 31.91 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.2231, allocations: 31.91 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.2232, allocations: 4 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.2234, allocations: 83.84 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.2234, allocations: 11.92 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2235, allocations: 33.7 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2237, allocations: 100 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2237, allocations: 0 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2237, allocations: 4 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2237, allocations: 0 / 0.9808 GB, free: 25.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005582/0.2243, allocations: 434.5 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2243, allocations: 12.02 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.2244, allocations: 38.55 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.2244, allocations: 11.86 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.2245, allocations: 171 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2246, allocations: 7.984 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.2246, allocations: 8 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.2248, allocations: 69.66 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2249, allocations: 0 / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2249, allocations: 0 / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2249, allocations: 7.984 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.2251, allocations: 39.97 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.2256, allocations: 304.7 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2258, allocations: 54.5 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.226, allocations: 36.97 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.226, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.2263, allocations: 87.34 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.2263, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005754/0.2269, allocations: 157.5 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2269, allocations: 55.41 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.227, allocations: 125.8 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.227, allocations: 25.7 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2271, allocations: 92.33 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2271, allocations: 7.812 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.2271, allocations: 4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.136e-05/0.2272, allocations: 322.8 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2273, allocations: 31.92 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2275, allocations: 65.12 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2276, allocations: 27.94 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2276, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003676/0.228, allocations: 121.4 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.228, allocations: 8.156 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2281, allocations: 4 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2281, allocations: 7.953 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2282, allocations: 11.98 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2283, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.2284, allocations: 7.984 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2284, allocations: 4 kB / 0.983 GB, free: 23.32 MB / 0.6198 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 8.781e-05/0.2285, allocations: 128.1 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.2285, allocations: 11.91 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.2286, allocations: 8.375 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2286, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2286, allocations: 3.953 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2286, allocations: 3.984 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.2292, allocations: 382.5 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2292, allocations: 8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.2293, allocations: 8 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2293, allocations: 0 / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2293, allocations: 3.953 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2293, allocations: 0 / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2293, allocations: 3.984 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2297, allocations: 211.4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2298, allocations: 81.02 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2298, allocations: 4 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.23, allocations: 15.98 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.23, allocations: 7.922 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.23, allocations: 15.86 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.2301, allocations: 91.92 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2301, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003839/0.2305, allocations: 40 kB / 0.984 GB, free: 22.22 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: 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.0008675/0.2314, allocations: 0.8002 MB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2317, allocations: 67.91 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2317, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2319, allocations: 52.2 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2323, allocations: 15.89 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2335, allocations: 0.6072 MB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2337, allocations: 0.6887 MB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.2338, allocations: 4.188 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.2338, allocations: 20.44 kB / 0.9862 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2338, allocations: 0 / 0.9862 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2599, allocations: 2.336 MB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.2602, allocations: 242.5 kB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/2.949, allocations: 0 / 0.9887 GB, free: 17.47 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)