Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.916/1.916, allocations: 288.4 MB / 303.3 MB, free: 8.078 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.001162/0.001162, allocations: 174.3 kB / 372 MB, free: 10.28 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.803/1.803, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008876/0.0008877, allocations: 94.36 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 15.56 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001612/0.2276, allocations: 1.191 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2287, allocations: 0.7149 MB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.2288, allocations: 3.938 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2288, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.2289, allocations: 15.86 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.2294, allocations: 83.84 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.2295, allocations: 67.72 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.2296, allocations: 11.97 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.2297, allocations: 27.92 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.2298, allocations: 31.91 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2298, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2299, allocations: 83.84 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.23, allocations: 19.91 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.23, allocations: 37.7 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2302, allocations: 92.06 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2302, allocations: 0 / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2302, allocations: 0 / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2302, allocations: 0 / 0.982 GB, free: 25.19 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.0005249/0.2307, allocations: 442.4 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2308, allocations: 16.02 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2308, allocations: 30.56 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2309, allocations: 7.906 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.231, allocations: 178.9 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.231, allocations: 4 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.231, allocations: 4 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2312, allocations: 73.64 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.2312, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2312, allocations: 8 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2313, allocations: 0 / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2314, allocations: 43.97 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.2318, allocations: 304.7 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.232, allocations: 46.56 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.2321, allocations: 32.97 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2321, allocations: 4 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.2323, allocations: 83.38 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2323, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.2327, allocations: 153.5 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2327, allocations: 55.41 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.2328, allocations: 125.7 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2328, allocations: 33.7 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.2329, allocations: 88.31 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2329, allocations: 15.81 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.2329, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.233, allocations: 326.8 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.233, allocations: 19.98 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.2331, allocations: 65.14 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.2332, allocations: 43.91 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2332, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001958/0.2334, allocations: 117.4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2334, allocations: 4 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2334, allocations: 4 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2335, allocations: 8.156 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.2335, allocations: 15.98 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2336, allocations: 7.953 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.2336, allocations: 8 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2336, allocations: 4 kB / 0.9842 GB, free: 22.61 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 7.126e-05/0.2337, allocations: 125.7 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.2337, allocations: 7.906 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.2338, allocations: 12.38 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2338, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2338, allocations: 3.938 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2338, allocations: 3.953 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.2342, allocations: 378.8 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2342, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.2342, allocations: 11.98 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2342, allocations: 0 / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2342, allocations: 4 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2342, allocations: 3.953 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2343, allocations: 80 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.2345, allocations: 219.4 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.2345, allocations: 85.02 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2345, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2347, allocations: 7.984 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2347, allocations: 11.89 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2347, allocations: 11.92 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.2348, allocations: 91.28 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2348, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002918/0.2351, allocations: 35.98 kB / 0.9852 GB, free: 21.51 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.0006455/0.2357, allocations: 0.8138 MB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.236, allocations: 71.91 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.236, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.2361, allocations: 40.23 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2363, allocations: 23.88 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.2373, allocations: 0.6078 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2374, allocations: 0.6888 MB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.2374, allocations: 8.172 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.2375, allocations: 11.44 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2375, allocations: 0 / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.2501, allocations: 2.341 MB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.2503, allocations: 250.1 kB / 0.9899 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.896, allocations: 0 / 0.9899 GB, free: 16.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)