Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.953/2.953, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.207/3.207, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007425/0.0007426, allocations: 23.31 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3791, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002899/0.3821, allocations: 1.204 MB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.3842, allocations: 0.7337 MB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3844, allocations: 0 / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3844, allocations: 7.938 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3846, allocations: 7.984 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3856, allocations: 99.75 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.386, allocations: 59.86 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.3862, allocations: 4 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3864, allocations: 43.83 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3865, allocations: 35.84 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3866, allocations: 4 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.3869, allocations: 75.86 kB / 0.7894 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.3869, allocations: 11.98 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.387, allocations: 41.64 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3873, allocations: 116 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3873, allocations: 0 / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3873, allocations: 0 / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3873, allocations: 0 / 0.7896 GB, free: 9.406 MB / 0.6075 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.0009614/0.3883, allocations: 446.4 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.155e-05/0.3884, allocations: 16.03 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.392e-05/0.3885, allocations: 34.55 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.3886, allocations: 7.906 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.389, allocations: 178 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.389, allocations: 11.94 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3891, allocations: 8 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.3895, allocations: 89.56 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3895, allocations: 0 / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3895, allocations: 8 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3896, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.3898, allocations: 47.97 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.3908, allocations: 332.7 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3911, allocations: 66.56 kB / 0.7908 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.3911, allocations: 0 / 0.7908 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.3915, allocations: 99.39 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.584e-06/0.3915, allocations: 4 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000821/0.3924, allocations: 189.5 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3925, allocations: 63.34 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.3927, allocations: 125.8 kB / 0.7913 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3928, allocations: 33.7 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.3929, allocations: 92.36 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.3929, allocations: 19.91 kB / 0.7914 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3929, allocations: 4 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.3932, allocations: 322.8 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3933, allocations: 27.98 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3935, allocations: 84.64 kB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3936, allocations: 40.3 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3937, allocations: 0 / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000426/0.3941, allocations: 145.3 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3942, allocations: 4 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3942, allocations: 3.938 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.3942, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3944, allocations: 20.19 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.3944, allocations: 11.98 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3946, allocations: 7.953 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3946, allocations: 15.92 kB / 0.7921 GB, free: 6.641 MB / 0.6075 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.0002014/0.3948, allocations: 121.8 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.3949, allocations: 7.906 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.3949, allocations: 16.36 kB / 0.7922 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3949, allocations: 4 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.395, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.395, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.3958, allocations: 438.2 kB / 0.7926 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3959, allocations: 4 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3959, allocations: 8 kB / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-06/0.3959, allocations: 7.984 kB / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.396, allocations: 4 kB / 0.7926 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.396, allocations: 0 / 0.7926 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.396, allocations: 3.953 kB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.3965, allocations: 247.4 kB / 0.7929 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.3966, allocations: 89.02 kB / 0.793 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.3967, allocations: 4 kB / 0.793 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3968, allocations: 7.984 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.3969, allocations: 7.953 kB / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3969, allocations: 7.984 kB / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.58e-05/0.397, allocations: 95.27 kB / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.397, allocations: 0 / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004315/0.3974, allocations: 43.98 kB / 0.7931 GB, free: 5.445 MB / 0.6075 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.001658/0.3991, allocations: 0.8493 MB / 0.794 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.3996, allocations: 95.83 kB / 0.794 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3996, allocations: 0 / 0.794 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3998, allocations: 43.98 kB / 0.7941 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4002, allocations: 28.17 kB / 0.7941 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4019, allocations: 1.371 MB / 0.7955 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.4024, allocations: 0.6928 MB / 0.7961 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.4025, allocations: 15.91 kB / 0.7961 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4026, allocations: 19.44 kB / 0.7962 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.4026, allocations: 0 / 0.7962 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.4216, allocations: 2.63 MB / 0.7987 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.4219, allocations: 241.7 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/3.571, allocations: 0 / 0.799 GB, free: 15.5 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: