Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.683/1.683, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001195/0.001195, allocations: 178 kB / 371.8 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 2.176/2.176, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001083/0.001083, allocations: 95.5 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 15.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001342/0.2166, allocations: 1.161 MB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005659/0.2172, allocations: 472.9 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.2172, allocations: 3.938 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.2172, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.2173, allocations: 11.97 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.2175, allocations: 23.91 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.2175, allocations: 27.97 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.2176, allocations: 11.98 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2177, allocations: 15.92 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.2178, allocations: 23.86 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2178, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2178, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.2179, allocations: 11.98 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.2179, allocations: 33.64 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.057e-05/0.218, allocations: 36.16 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.218, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.218, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.218, allocations: 0 / 0.9813 GB, free: 25.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003579/0.2184, allocations: 406.6 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2184, allocations: 8.031 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.2184, allocations: 42.55 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.2185, allocations: 0 / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.909e-05/0.2185, allocations: 170.9 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2186, allocations: 3.938 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2186, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2187, allocations: 65.67 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2187, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2188, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.2188, allocations: 7.984 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2189, allocations: 35.98 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2192, allocations: 288.8 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.2193, allocations: 42.5 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2193, allocations: 4 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2195, allocations: 75.47 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.2195, allocations: 0 / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.000307/0.2198, allocations: 133.4 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.2198, allocations: 55.36 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.2199, allocations: 114 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.2199, allocations: 29.7 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.2199, allocations: 88.12 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.22, allocations: 19.8 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.22, allocations: 4 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.22, allocations: 314.8 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.2201, allocations: 15.98 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.2201, allocations: 56.22 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.2202, allocations: 27.98 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2202, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001511/0.2204, allocations: 97.61 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2204, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2204, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2204, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.2205, allocations: 15.92 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2205, allocations: 0 / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.2205, allocations: 12.2 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2206, allocations: 7.984 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,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 (7): * Single equations (assignments): 7 * 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 5.447e-05/0.2206, allocations: 125.9 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.2206, allocations: 7.906 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.2207, allocations: 7.969 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2207, allocations: 4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2207, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2207, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.221, allocations: 350.5 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.221, allocations: 0 / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.221, allocations: 12.36 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.221, allocations: 0 / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2211, allocations: 0 / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2211, allocations: 0 / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2211, allocations: 7.891 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2213, allocations: 203.4 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.2213, allocations: 81.02 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2213, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.2214, allocations: 15.98 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2214, allocations: 7.938 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2214, allocations: 4 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.2215, allocations: 87.28 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2215, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002337/0.2217, allocations: 12 kB / 0.9842 GB, free: 22.38 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003292/0.2221, allocations: 0.7242 MB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2222, allocations: 63.91 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2222, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.2223, allocations: 36.05 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2225, allocations: 11.98 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.223, allocations: 0.9967 MB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.2231, allocations: 0.6848 MB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.2232, allocations: 7.984 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.2232, allocations: 19.44 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2232, allocations: 4 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.2335, allocations: 1.349 MB / 0.988 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.2337, allocations: 218.3 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.338/1.572, allocations: 0 / 0.9882 GB, free: 18.34 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)