Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.0008608/0.0008608, allocations: 91.92 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.001017/0.001017, 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.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.734/1.734, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005892/0.0005892, allocations: 12.38 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2817, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001282/0.283, allocations: 441.4 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2841, allocations: 0.8371 MB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2841, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2842, allocations: 7.922 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.2843, allocations: 3.938 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2844, allocations: 15.97 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.2845, allocations: 55.8 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2846, allocations: 15.98 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.689e-05/0.2847, allocations: 19.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.2848, allocations: 23.91 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2848, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2849, allocations: 4 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2849, allocations: 3.938 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2849, allocations: 37.7 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.285, allocations: 48.11 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.285, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.285, allocations: 4 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.285, allocations: 0 / 0.7889 GB, free: 10.34 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.0005387/0.2856, allocations: 359.1 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2856, allocations: 12.03 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.2857, allocations: 38.55 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.2857, allocations: 7.906 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.286, allocations: 202.8 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.286, allocations: 4 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.286, allocations: 4 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2862, allocations: 57.67 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2862, allocations: 3.984 kB / 0.7895 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2862, allocations: 4 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2862, allocations: 4 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2863, allocations: 35.92 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.2868, allocations: 304.7 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2871, allocations: 78.53 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.2872, allocations: 24.94 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2872, allocations: 0 / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.2873, allocations: 38.56 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2873, allocations: 0 / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002551/0.2875, allocations: 69.67 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2876, allocations: 59.36 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2877, allocations: 121.8 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2877, allocations: 25.7 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.2878, allocations: 96.05 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2878, allocations: 11.83 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.2878, allocations: 7.938 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.2881, allocations: 314.8 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.2881, allocations: 23.92 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.2882, allocations: 25.72 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.2883, allocations: 19.98 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2883, allocations: 0 / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.2884, allocations: 69.58 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2884, allocations: 10.84 kB / 0.7908 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2885, allocations: 0 / 0.7908 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2885, allocations: 4 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.2885, allocations: 4 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2886, allocations: 3.938 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2887, allocations: 15.94 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2887, allocations: 3.938 kB / 0.7908 GB, free: 8.086 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.shaH.hys.y,shaH.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 0.0001194/0.2889, allocations: 117.8 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2889, allocations: 4 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.289, allocations: 11.89 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.289, allocations: 4 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.289, allocations: 0 / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.289, allocations: 0 / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2892, allocations: 177.7 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2892, allocations: 0 / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.2893, allocations: 11.98 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2893, allocations: 4 kB / 0.7912 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2893, allocations: 4.328 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2893, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2893, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2896, allocations: 171.3 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.2896, allocations: 81.02 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2897, allocations: 4 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.2897, allocations: 11.98 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2898, allocations: 7.984 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2898, allocations: 0 / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.2899, allocations: 99.27 kB / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2899, allocations: 0 / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002218/0.2902, allocations: 8 kB / 0.7915 GB, free: 7.281 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0007145/0.2909, allocations: 0.689 MB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.2911, allocations: 39.92 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2911, allocations: 0 / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.2912, allocations: 23.98 kB / 0.7923 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.2916, allocations: 14.47 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2927, allocations: 0.5139 MB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.2932, allocations: 0.6848 MB / 0.7934 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.2933, allocations: 7.984 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2933, allocations: 19.44 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2933, allocations: 0 / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.3076, allocations: 1.481 MB / 0.7949 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.3078, allocations: 188 kB / 0.7951 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.3, allocations: 0 / 0.7951 GB, free: 3.574 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) Environment - environmentSimulation: