Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 192.5 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007996/0.0007995, allocations: 81.84 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003391, allocations: 10.31 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001746/0.2399, allocations: 1.18 MB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.2407, allocations: 467.7 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.2408, allocations: 4 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.2408, allocations: 3.938 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.2409, allocations: 3.938 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2411, allocations: 31.91 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.2412, allocations: 43.84 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.2413, allocations: 4 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2414, allocations: 19.92 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.2415, allocations: 23.92 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2415, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2416, allocations: 4 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2416, allocations: 11.91 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.2416, allocations: 41.64 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.944e-05/0.2417, allocations: 23.95 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2417, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2417, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2417, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 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.0004521/0.2422, allocations: 406.9 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2422, allocations: 8.031 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.2423, allocations: 38.48 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2423, allocations: 11.86 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.2424, allocations: 171 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2425, allocations: 4 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2425, allocations: 4 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2427, allocations: 65.67 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2427, allocations: 0 / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2427, allocations: 3.984 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2427, allocations: 0 / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2429, allocations: 35.98 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.2434, allocations: 284.8 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2435, allocations: 42.56 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.2436, allocations: 40.91 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2436, allocations: 7.984 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.2438, allocations: 75.39 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.2438, allocations: 0 / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003638/0.2442, allocations: 133.4 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2443, allocations: 51.41 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.2443, allocations: 114 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2444, allocations: 37.69 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.2444, allocations: 88.05 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.2444, allocations: 16.22 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2444, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.2445, allocations: 314.8 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.2446, allocations: 16 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.2447, allocations: 60.2 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.2447, allocations: 27.94 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2447, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001812/0.2449, allocations: 97.5 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.245, allocations: 4 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.245, allocations: 4 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.245, allocations: 0 / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.2451, allocations: 15.89 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.2451, allocations: 12.3 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.2452, allocations: 11.98 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2452, allocations: 7.938 kB / 0.9042 GB, free: 59.55 MB / 0.6042 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 7.689e-05/0.2453, allocations: 113.8 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.2453, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2453, allocations: 7.969 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2453, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2454, allocations: 3.953 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2454, allocations: 7.984 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.2457, allocations: 354.4 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2457, allocations: 0 / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.2458, allocations: 4 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2458, allocations: 4 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2458, allocations: 3.953 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2458, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2458, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2461, allocations: 199.8 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.2461, allocations: 92.94 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2461, allocations: 0 / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.2462, allocations: 11.95 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.2463, allocations: 7.984 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2463, allocations: 0 / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.2463, allocations: 95.2 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2463, allocations: 0 / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000216/0.2465, allocations: 16 kB / 0.9051 GB, free: 58.55 MB / 0.6042 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.0004295/0.247, allocations: 0.7241 MB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.2472, allocations: 63.91 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2472, allocations: 0 / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.355e-05/0.2473, allocations: 36.28 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2476, allocations: 11.95 kB / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.2484, allocations: 0.5264 MB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2485, allocations: 0.6848 MB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.2486, allocations: 4 kB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.2486, allocations: 20.69 kB / 0.9071 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2486, allocations: 0 / 0.9071 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.2607, allocations: 1.363 MB / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.261, allocations: 230.1 kB / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.877, allocations: 4.719 kB / 0.9087 GB, free: 54.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)