Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.801/2.801, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.002755/0.002755, allocations: 193.3 kB / 370.8 MB, free: 10.88 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.181/2.181, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001112/0.001112, allocations: 97.56 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005281, allocations: 11.16 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2533, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001798/0.2552, allocations: 1.199 MB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2566, allocations: 0.7425 MB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.2567, allocations: 4 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.2567, allocations: 3.938 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.2568, allocations: 11.98 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.2574, allocations: 95.73 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2575, allocations: 55.88 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.2576, allocations: 12 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.2577, allocations: 39.89 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.2578, allocations: 35.84 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2578, allocations: 7.938 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.258, allocations: 71.86 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.258, allocations: 11.98 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.2581, allocations: 41.64 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2583, allocations: 116 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2583, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2583, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2583, allocations: 4 kB / 0.9807 GB, free: 25.84 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005675/0.2589, allocations: 438.5 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.259, allocations: 8.031 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.2591, allocations: 38.5 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.2591, allocations: 15.84 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.2592, allocations: 178.9 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2592, allocations: 8 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2593, allocations: 8 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2596, allocations: 93.56 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2596, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2596, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2596, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.26, allocations: 51.97 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.261, allocations: 328.7 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.2614, allocations: 66.5 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.2615, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.2619, allocations: 103.4 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.262, allocations: 0 / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001209/0.2632, allocations: 201.4 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2633, allocations: 59.39 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2634, allocations: 125.8 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2635, allocations: 29.69 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.2636, allocations: 92.38 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2636, allocations: 23.89 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.2637, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.2638, allocations: 322.8 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2639, allocations: 31.98 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2641, allocations: 73.98 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2643, allocations: 47.91 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2643, allocations: 0 / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003898/0.2647, allocations: 141.5 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2647, allocations: 12 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2647, allocations: 0 / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2648, allocations: 4 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2649, allocations: 19.92 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2649, allocations: 3.953 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2651, allocations: 12 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2651, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 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 0.0001158/0.2652, allocations: 129.8 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2653, allocations: 15.83 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.2653, allocations: 4.375 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2653, allocations: 4 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2653, allocations: 384 / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2653, allocations: 3.953 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.2661, allocations: 446.2 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2661, allocations: 0 / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.2662, allocations: 7.984 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2662, allocations: 0 / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2662, allocations: 4 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.2662, allocations: 3.953 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2662, allocations: 0 / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.2667, allocations: 255.4 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.2668, allocations: 81.02 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.2668, allocations: 7.984 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.267, allocations: 4 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.2671, allocations: 11.94 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2671, allocations: 4 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.2672, allocations: 100.6 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2672, allocations: 0 / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004626/0.2677, allocations: 43.98 kB / 0.9842 GB, free: 21.89 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: 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.001048/0.2687, allocations: 0.8569 MB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2692, allocations: 96.08 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2692, allocations: 4.062 kB / 0.9851 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.2694, allocations: 51.97 kB / 0.9852 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.2698, allocations: 15.89 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.2708, allocations: 1.357 MB / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.271, allocations: 0.6965 MB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2711, allocations: 8 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.2712, allocations: 23.42 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2712, allocations: 0 / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.296, allocations: 2.632 MB / 0.9898 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.2963, allocations: 247.4 kB / 0.99 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/2.866, allocations: 0 / 0.99 GB, free: 15.9 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)