Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.001397/0.001397, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.002111/0.002111, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.496 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 1.81/1.81, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005936/0.0005937, allocations: 16.44 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3048, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0009929/0.3058, allocations: 441.4 kB / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.307, allocations: 0.8371 MB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.307, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3071, allocations: 7.922 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.3072, allocations: 3.938 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.3073, allocations: 15.98 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3075, allocations: 55.78 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3076, allocations: 15.98 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.3077, allocations: 19.92 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.3078, allocations: 19.92 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3078, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.3078, allocations: 4 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.3079, allocations: 15.91 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3079, allocations: 29.7 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.457e-05/0.308, allocations: 52.12 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.308, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.987e-06/0.308, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.308, allocations: 3.938 kB / 0.7889 GB, free: 10.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005324/0.3086, allocations: 359.1 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3086, allocations: 8.031 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.3087, allocations: 30.56 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3087, allocations: 7.906 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.309, allocations: 198.9 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.309, allocations: 8 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.309, allocations: 4 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3092, allocations: 57.67 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3092, allocations: 4 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3092, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3092, allocations: 3.984 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3094, allocations: 43.91 kB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3098, allocations: 300.7 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3101, allocations: 86.47 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3102, allocations: 21 kB / 0.7899 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3102, allocations: 8 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3102, allocations: 30.56 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3103, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002453/0.3105, allocations: 69.67 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3106, allocations: 59.36 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.3107, allocations: 121.8 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3107, allocations: 41.64 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.3108, allocations: 88.05 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3108, allocations: 15.83 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.3108, allocations: 3.938 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3109, allocations: 314.8 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.311, allocations: 19.98 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.311, allocations: 33.7 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.3111, allocations: 12 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3111, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.3112, allocations: 69.58 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3113, allocations: 8 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3113, allocations: 0 / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3113, allocations: 0 / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.3114, allocations: 11.97 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3114, allocations: 3.938 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.3114, allocations: 19.94 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3115, allocations: 4 kB / 0.7908 GB, free: 8.023 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.187e-05/0.3115, allocations: 109.8 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3116, allocations: 7.984 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.3116, allocations: 11.91 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3116, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3116, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3116, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3118, allocations: 181.6 kB / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3118, allocations: 0 / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.3119, allocations: 4 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3119, allocations: 0 / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3119, allocations: 0 / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3119, allocations: 0 / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3119, allocations: 0 / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3121, allocations: 175.6 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3121, allocations: 89 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3122, allocations: 0 / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3122, allocations: 4 kB / 0.7914 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.3123, allocations: 15.98 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3123, allocations: 4 kB / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.3124, allocations: 91.27 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3124, allocations: 0 / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002212/0.3126, allocations: 8 kB / 0.7915 GB, free: 7.234 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005034/0.3131, allocations: 0.6968 MB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3133, allocations: 43.86 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3133, allocations: 0 / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3134, allocations: 19.98 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3137, allocations: 4 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008971/0.3146, allocations: 0.5168 MB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3149, allocations: 0.6848 MB / 0.7934 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.964e-05/0.3149, allocations: 7.984 kB / 0.7934 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.315, allocations: 15.44 kB / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.315, allocations: 0 / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.3275, allocations: 1.491 MB / 0.7949 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.3277, allocations: 190.8 kB / 0.7951 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.354, allocations: 0 / 0.7951 GB, free: 3.523 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) Environment - environmentSimulation: