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.622/2.622, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001313/0.001313, allocations: 182.3 kB / 371 MB, free: 10.86 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.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001012/0.001012, allocations: 97.42 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005214, allocations: 12 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2179, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001836/0.2198, allocations: 1.211 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2214, allocations: 0.7346 MB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.2215, allocations: 0 / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.2215, allocations: 7.922 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.2216, allocations: 11.92 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.2222, allocations: 103.8 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.2224, allocations: 75.78 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.2225, allocations: 11.98 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2226, allocations: 39.84 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.2227, allocations: 39.83 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2227, allocations: 4 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.223, allocations: 83.91 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.2231, allocations: 23.91 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.2232, allocations: 41.64 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.2236, allocations: 100 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.2237, allocations: 4 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.037e-06/0.2237, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2237, allocations: 0 / 0.9809 GB, free: 25.75 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.001413/0.2252, allocations: 450.4 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.2253, allocations: 12.03 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.2254, allocations: 38.56 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.2255, allocations: 15.8 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2257, allocations: 182.9 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.2257, allocations: 4 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.2258, allocations: 4 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.2261, allocations: 93.56 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2262, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2262, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2262, allocations: 4 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.2265, allocations: 51.97 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.2271, allocations: 324.7 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.2274, allocations: 70.55 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2276, allocations: 44.84 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2276, allocations: 0 / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.2279, allocations: 103.3 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.687e-06/0.2279, allocations: 96 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006993/0.2287, allocations: 193.4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2287, allocations: 63.5 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2288, allocations: 131.7 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2289, allocations: 33.7 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.2289, allocations: 88.36 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2289, allocations: 23.73 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.229, allocations: 8 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.229, allocations: 315.2 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2292, allocations: 31.97 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2293, allocations: 74 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2295, allocations: 39.98 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2295, allocations: 3.938 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003828/0.2299, allocations: 149.3 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2299, allocations: 4 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2299, allocations: 4.156 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.23, allocations: 7.938 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2301, allocations: 19.94 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2302, allocations: 7.938 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2303, allocations: 8 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.2303, allocations: 4 kB / 0.9834 GB, free: 22.94 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.0001443/0.2305, allocations: 132.4 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.2305, allocations: 7.906 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.2305, allocations: 12.38 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2306, allocations: 0 / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2306, allocations: 3.953 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2306, allocations: 0 / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.2313, allocations: 430.3 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2314, allocations: 4 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.2314, allocations: 15.92 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2315, allocations: 0 / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2315, allocations: 7.953 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2315, allocations: 0 / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2315, allocations: 4 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.232, allocations: 247.4 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.2321, allocations: 89 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2321, allocations: 4 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2323, allocations: 11.95 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.2323, allocations: 7.984 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.2324, allocations: 4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.2324, allocations: 91.45 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2324, allocations: 4 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004139/0.2329, allocations: 47.92 kB / 0.9844 GB, free: 21.74 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.001049/0.2339, allocations: 0.857 MB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.2344, allocations: 99.77 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2344, allocations: 0 / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2346, allocations: 56.27 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.235, allocations: 20.22 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2365, allocations: 0.6521 MB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2367, allocations: 0.6929 MB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.637e-05/0.2367, allocations: 7.984 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.2368, allocations: 23.44 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.2368, allocations: 4 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.2595, allocations: 2.653 MB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003582/0.26, allocations: 248 kB / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/2.926, allocations: 0 / 0.9896 GB, free: 16.44 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)