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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001035/0.001035, allocations: 182.1 kB / 371.6 MB, free: 3.355 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.934/1.934, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009989/0.0009986, allocations: 87.48 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.069e-05/6.105e-05, allocations: 3.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9284/1.251, allocations: 138.7 MB / 1.115 GB, free: 44.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.252, allocations: 66.78 kB / 1.115 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002806/1.254, allocations: 1.074 MB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/1.254, allocations: 0 / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.254, allocations: 0 / 1.116 GB, free: 44.14 MB / 0.7448 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.0003354/1.255, allocations: 363.8 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.255, allocations: 8.688 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/1.255, allocations: 38.03 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/1.255, allocations: 9.359 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.255, allocations: 175.5 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/1.255, allocations: 8.141 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/1.255, allocations: 4 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/1.255, allocations: 55.19 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.255, allocations: 0.75 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.255, allocations: 1.781 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.255, allocations: 0 / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.93e-05/1.255, allocations: 23.12 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/1.256, allocations: 310.4 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.256, allocations: 71.64 kB / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/1.256, allocations: 23.14 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.256, allocations: 0 / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/1.256, allocations: 46.25 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/1.256, allocations: 0 / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001601/1.256, allocations: 48.66 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/1.256, allocations: 51.41 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/1.256, allocations: 117.2 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/1.256, allocations: 25.7 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/1.257, allocations: 98.92 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.257, allocations: 8.078 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.257, allocations: 3.938 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/1.257, allocations: 314.8 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/1.257, allocations: 7.5 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/1.257, allocations: 29.08 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/1.257, allocations: 11.75 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.257, allocations: 3.938 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.016e-05/1.257, allocations: 59.22 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.257, allocations: 4 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.257, allocations: 4 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.257, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/1.257, allocations: 7.422 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.257, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/1.257, allocations: 15.17 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/1.257, allocations: 11.39 kB / 1.118 GB, free: 42.22 MB / 0.7448 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 () * 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 5.66e-05/1.257, allocations: 105 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/1.257, allocations: 7.906 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/1.257, allocations: 8.531 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.257, allocations: 0 / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.257, allocations: 3.062 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.257, allocations: 1.656 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.257, allocations: 181.7 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.257, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/1.257, allocations: 12.69 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.257, allocations: 4.562 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.257, allocations: 3.516 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.257, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.257, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/1.258, allocations: 150.5 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/1.258, allocations: 77.11 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/1.258, allocations: 0.6094 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/1.258, allocations: 20.8 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/1.258, allocations: 7.469 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/1.258, allocations: 4.047 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.995e-05/1.258, allocations: 92.52 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.258, allocations: 0 / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001883/1.258, allocations: 8 kB / 1.119 GB, free: 41.52 MB / 0.7448 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) * 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.0002683/1.258, allocations: 0.6923 MB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.778e-05/1.258, allocations: 26.56 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.258, allocations: 0 / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/1.258, allocations: 18.45 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.259, allocations: 3.688 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/1.259, allocations: 116.8 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/1.259, allocations: 0.6956 MB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.654e-05/1.259, allocations: 0.6562 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/1.259, allocations: 22.59 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.259, allocations: 0 / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/1.272, allocations: 1.451 MB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.273, allocations: 147.8 kB / 1.122 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.924, allocations: 0 / 1.122 GB, free: 38.96 MB / 0.7448 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)