Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001031/0.001032, allocations: 177.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.000758/0.000758, allocations: 98.17 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004437, allocations: 19.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001604/0.2228, allocations: 1.203 MB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2238, allocations: 0.7422 MB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.2238, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.2239, allocations: 3.938 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.224, allocations: 11.92 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.2244, allocations: 107.8 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.2245, allocations: 75.72 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.2246, allocations: 11.98 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2247, allocations: 27.92 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.2248, allocations: 51.81 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2248, allocations: 4 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2249, allocations: 83.91 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.225, allocations: 15.92 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.225, allocations: 41.64 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2251, allocations: 108 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2252, allocations: 3.938 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.607e-06/0.2252, allocations: 3.984 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2252, allocations: 0 / 0.9821 GB, free: 25.04 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.0006266/0.2258, allocations: 450.4 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2259, allocations: 12.03 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.2259, allocations: 30.56 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.226, allocations: 7.906 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2261, allocations: 180.2 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2261, allocations: 8 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2262, allocations: 8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2264, allocations: 93.56 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2264, allocations: 0 / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2264, allocations: 7.984 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.2265, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.2266, allocations: 47.97 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.2271, allocations: 328.7 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2272, allocations: 74.53 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.2273, allocations: 44.83 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2274, allocations: 8 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2276, allocations: 95.39 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.2276, allocations: 0 / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004346/0.228, allocations: 197.5 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2281, allocations: 59.73 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.2281, allocations: 132.2 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2281, allocations: 25.7 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2282, allocations: 92.38 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.2282, allocations: 31.81 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.2282, allocations: 0 / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.2283, allocations: 318.8 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.2284, allocations: 35.97 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.2285, allocations: 70 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.684e-05/0.2286, allocations: 47.92 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2286, allocations: 3.938 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002544/0.2288, allocations: 141.4 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2289, allocations: 8 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2289, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2289, allocations: 4 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.229, allocations: 19.92 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.229, allocations: 7.953 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.2291, allocations: 8 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2291, allocations: 4 kB / 0.9846 GB, free: 22.23 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 7.677e-05/0.2292, allocations: 133.8 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.2292, allocations: 7.906 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.2292, allocations: 12.38 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2292, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2292, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2292, allocations: 3.953 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.2297, allocations: 438.3 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2297, allocations: 3.984 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.2297, allocations: 4 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2297, allocations: 4 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2298, allocations: 7.984 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2298, allocations: 3.953 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2298, allocations: 0 / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.2301, allocations: 251.5 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.2301, allocations: 89.19 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2301, allocations: 7.922 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.2302, allocations: 4 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.2303, allocations: 15.94 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2303, allocations: 11.98 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.2303, allocations: 91.27 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2303, allocations: 0 / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002745/0.2306, allocations: 40 kB / 0.9856 GB, free: 21.03 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.0006646/0.2313, allocations: 0.8454 MB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2315, allocations: 104 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2315, allocations: 96 / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2317, allocations: 55.91 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.2319, allocations: 19.88 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.2329, allocations: 0.6517 MB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.233, allocations: 0.6933 MB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.233, allocations: 8 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.2331, allocations: 23.42 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2331, allocations: 0 / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.2453, allocations: 2.65 MB / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.2455, allocations: 260.9 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.962, allocations: 3.938 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)