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.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001401/0.001402, allocations: 177.1 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001099/0.001099, allocations: 90.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004489, allocations: 6.188 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001937/0.2543, allocations: 1.172 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.2552, allocations: 476.6 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.2553, allocations: 4 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.2553, allocations: 7.922 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.2554, allocations: 7.922 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2556, allocations: 19.92 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.2557, allocations: 39.89 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2559, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.256, allocations: 23.91 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.2561, allocations: 19.92 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2561, allocations: 0 / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.2561, allocations: 4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.2561, allocations: 3.984 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.2562, allocations: 41.64 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.2563, allocations: 31.94 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2563, allocations: 0 / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2563, allocations: 0 / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2563, allocations: 0 / 0.9019 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.0005298/0.2568, allocations: 402.9 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2569, allocations: 8.031 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.2569, allocations: 34.55 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.257, allocations: 11.86 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2571, allocations: 167 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.2571, allocations: 4 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2572, allocations: 11.94 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2573, allocations: 73.58 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2574, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2574, allocations: 4 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2574, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.2575, allocations: 43.97 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.258, allocations: 272.9 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2581, allocations: 50.59 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.2581, allocations: 3.984 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.2583, allocations: 71.39 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.2583, allocations: 0 / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.000346/0.2587, allocations: 133.5 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2587, allocations: 55.34 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.2588, allocations: 122 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2588, allocations: 25.7 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.2589, allocations: 96.03 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.2589, allocations: 7.844 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.2589, allocations: 4 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.259, allocations: 314.8 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.259, allocations: 23.97 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.2591, allocations: 48.28 kB / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.2592, allocations: 23.98 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2592, allocations: 4 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001845/0.2594, allocations: 97.45 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2594, allocations: 11.98 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2594, allocations: 0 / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2594, allocations: 4 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.2595, allocations: 12.16 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2595, allocations: 8.047 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.2596, allocations: 7.984 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2596, allocations: 7.984 kB / 0.904 GB, free: 59.61 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 6.736e-05/0.2597, allocations: 113.8 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.2597, allocations: 4 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2597, allocations: 7.969 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2598, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2598, allocations: 7.938 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2598, allocations: 3.953 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.2601, allocations: 354.4 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2602, allocations: 3.984 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.2602, allocations: 8.312 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2602, allocations: 0 / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.2602, allocations: 4 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2602, allocations: 7.953 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2602, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.2605, allocations: 187.5 kB / 0.9047 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2605, allocations: 88.95 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2605, allocations: 8.297 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.2606, allocations: 8 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2607, allocations: 11.94 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2607, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.2607, allocations: 99.2 kB / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2607, allocations: 0 / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002192/0.2609, allocations: 8 kB / 0.9049 GB, free: 58.6 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.0004083/0.2614, allocations: 0.728 MB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.2616, allocations: 55.91 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2616, allocations: 320 / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.2617, allocations: 47.91 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.2619, allocations: 5.984 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.2625, allocations: 0.9964 MB / 0.9067 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2627, allocations: 0.6848 MB / 0.9073 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2627, allocations: 7.922 kB / 0.9074 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.2628, allocations: 19.38 kB / 0.9074 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2628, allocations: 0 / 0.9074 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.2749, allocations: 1.356 MB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.2752, allocations: 218.3 kB / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.849, allocations: 0 / 0.9089 GB, free: 54.56 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)