Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.463/1.463, allocations: 252 MB / 267 MB, free: 10.98 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.001068/0.001068, allocations: 184.2 kB / 326.6 MB, free: 2.227 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.97/1.97, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.001032/0.001032, allocations: 91.67 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003251, allocations: 9.281 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001543/0.2448, allocations: 1.203 MB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.246, allocations: 0.7528 MB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.246, allocations: 0 / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.2461, allocations: 3.938 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.2461, allocations: 15.84 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.2467, allocations: 99.77 kB / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2468, allocations: 87.7 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.2469, allocations: 4 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.247, allocations: 39.89 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.2471, allocations: 39.84 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2471, allocations: 4 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.2473, allocations: 83.84 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.2473, allocations: 15.98 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2474, allocations: 45.64 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2475, allocations: 107.8 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2475, allocations: 0 / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2475, allocations: 0 / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2475, allocations: 0 / 0.9027 GB, free: 61.83 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004794/0.248, allocations: 442.8 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2481, allocations: 12.03 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.2481, allocations: 42.55 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.2481, allocations: 15.86 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.2482, allocations: 171 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2483, allocations: 7.938 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.2483, allocations: 8 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2485, allocations: 85.62 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2485, allocations: 3.938 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.2485, allocations: 4 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2485, allocations: 4 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2487, allocations: 55.91 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.2491, allocations: 324.6 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2493, allocations: 66.56 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.2494, allocations: 48.83 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2494, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2496, allocations: 103.4 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2496, allocations: 0 / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004301/0.2501, allocations: 201.4 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2501, allocations: 51.41 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.2502, allocations: 131.5 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2502, allocations: 29.7 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.2502, allocations: 100.2 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2503, allocations: 23.94 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.2503, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.2503, allocations: 322.8 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.2504, allocations: 27.98 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.2505, allocations: 82.67 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2506, allocations: 39.94 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2506, allocations: 4 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002147/0.2509, allocations: 137.4 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2509, allocations: 8 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2509, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2509, allocations: 4.156 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.251, allocations: 27.88 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.251, allocations: 4 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.2511, allocations: 15.84 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2511, allocations: 4 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.181e-05/0.2512, allocations: 132.8 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.2512, allocations: 8.281 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.2512, allocations: 8.375 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2512, allocations: 4 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2513, allocations: 3.953 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2513, allocations: 3.938 kB / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.2517, allocations: 434.4 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2517, allocations: 3.984 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.2517, allocations: 8 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2517, allocations: 0 / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2518, allocations: 7.953 kB / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2518, allocations: 3.984 kB / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2518, allocations: 0 / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.2521, allocations: 255.3 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2521, allocations: 88.94 kB / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.2521, allocations: 4 kB / 0.9061 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.2522, allocations: 7.953 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2523, allocations: 11.98 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2523, allocations: 4 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.2523, allocations: 95.27 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2523, allocations: 0 / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002697/0.2526, allocations: 43.98 kB / 0.9063 GB, free: 57.81 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006544/0.2533, allocations: 0.8508 MB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2535, allocations: 99.81 kB / 0.9072 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2535, allocations: 0 / 0.9072 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2536, allocations: 60.22 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2539, allocations: 15.94 kB / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.2549, allocations: 0.6585 MB / 0.9079 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.255, allocations: 0.6887 MB / 0.9086 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.2551, allocations: 7.984 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.2551, allocations: 19.44 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2551, allocations: 0 / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.2688, allocations: 2.658 MB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.269, allocations: 275.3 kB / 0.9115 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.948, allocations: 0 / 0.9115 GB, free: 52.51 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)