Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001056/0.001056, allocations: 175.5 kB / 326.5 MB, free: 2.27 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.975/1.975, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008895/0.0008898, allocations: 90.34 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 11 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001437/0.2488, allocations: 1.211 MB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.2498, allocations: 0.742 MB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.2498, allocations: 0 / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.2499, allocations: 3.938 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.25, allocations: 19.97 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.2504, allocations: 103.6 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.2505, allocations: 47.92 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.2505, allocations: 12 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.2506, allocations: 39.83 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.2507, allocations: 35.91 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2507, allocations: 4 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.2508, allocations: 79.8 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2509, allocations: 11.98 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.2509, allocations: 41.64 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2511, allocations: 108.1 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2511, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2511, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2511, allocations: 0 / 0.9025 GB, free: 61.43 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.0004908/0.2516, allocations: 442.5 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2516, allocations: 12.03 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.2517, allocations: 38.56 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2517, allocations: 15.84 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.2518, allocations: 171.5 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2518, allocations: 4 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2519, allocations: 11.94 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2521, allocations: 89.62 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2521, allocations: 0 / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2521, allocations: 4 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2521, allocations: 4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2523, allocations: 51.91 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.2527, allocations: 336.5 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2529, allocations: 66.56 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2529, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.2531, allocations: 103.4 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2531, allocations: 0 / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004221/0.2536, allocations: 193.4 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2536, allocations: 63.39 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.2537, allocations: 128.6 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2537, allocations: 33.7 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.2537, allocations: 88.28 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2538, allocations: 15.81 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.2538, allocations: 4 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.2538, allocations: 322.8 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.2539, allocations: 27.97 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.254, allocations: 82.92 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.2541, allocations: 43.97 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2541, allocations: 384 / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000207/0.2543, allocations: 141.4 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2543, allocations: 4 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2544, allocations: 0 / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2544, allocations: 12.09 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.2545, allocations: 19.92 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2545, allocations: 7.953 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.2545, allocations: 11.84 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2546, allocations: 12 kB / 0.905 GB, free: 58.67 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.263e-05/0.2546, allocations: 119.8 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.2547, allocations: 11.89 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.2547, allocations: 16.38 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2547, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2547, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2547, allocations: 3.953 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.2551, allocations: 434.5 kB / 0.9055 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2551, allocations: 0 / 0.9055 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.2552, allocations: 15.98 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2552, allocations: 4 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2552, allocations: 0 / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2552, allocations: 7.891 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2552, allocations: 3.984 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2555, allocations: 255.3 kB / 0.9058 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.2555, allocations: 85.02 kB / 0.9059 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2556, allocations: 7.984 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.2557, allocations: 8 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2557, allocations: 11.94 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2557, allocations: 4 kB / 0.9059 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.2558, allocations: 91.27 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2558, allocations: 0 / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002943/0.2561, allocations: 47.98 kB / 0.9061 GB, free: 57.46 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.0006671/0.2567, allocations: 0.8522 MB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.257, allocations: 91.89 kB / 0.907 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.257, allocations: 0 / 0.907 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2571, allocations: 56.22 kB / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.2573, allocations: 11.95 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.2579, allocations: 1.365 MB / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2581, allocations: 0.7004 MB / 0.9091 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.2581, allocations: 4 kB / 0.9091 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.2582, allocations: 27.42 kB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2582, allocations: 0 / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.2709, allocations: 2.627 MB / 0.9117 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.2712, allocations: 259.8 kB / 0.9119 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.81, allocations: 0 / 0.9119 GB, free: 51.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)