Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9563/0.9583, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00218/0.9605, allocations: 0.7065 MB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.9619, allocations: 0.8975 MB / 1.28 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.962, allocations: 0.8438 kB / 1.28 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.962, allocations: 5.062 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.9621, allocations: 10.3 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.9623, allocations: 21.39 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.9625, allocations: 62.25 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.9626, allocations: 11.22 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.9627, allocations: 35.84 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.9628, allocations: 37.05 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.9628, allocations: 5.375 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.9629, allocations: 8.781 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.9629, allocations: 11.3 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.963, allocations: 27.91 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.9631, allocations: 73.98 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9631, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9631, allocations: 1.734 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9631, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9981 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.0005798/0.9637, allocations: 371.6 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9638, allocations: 10.02 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.9638, allocations: 1.344 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.9638, allocations: 33.34 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.964, allocations: 16.8 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.9643, allocations: 194.9 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.9643, allocations: 10.47 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.9643, allocations: 3.719 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.9644, allocations: 62.98 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9645, allocations: 0 / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.9645, allocations: 1.25 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.9645, allocations: 0.7031 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.9646, allocations: 29.56 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.965, allocations: 305.3 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.9653, allocations: 70.58 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.9654, allocations: 18.22 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.9654, allocations: 0 / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.9654, allocations: 36.36 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9654, allocations: 4 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002788/0.9657, allocations: 71.38 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.9657, allocations: 52.62 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.9658, allocations: 126.5 kB / 1.282 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.9659, allocations: 31.64 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.9659, allocations: 88.64 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.9659, allocations: 6.922 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.966, allocations: 19.22 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9661, allocations: 325.9 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.9662, allocations: 14.23 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.9663, allocations: 31.86 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.9664, allocations: 26.62 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9664, allocations: 0 / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001732/0.9665, allocations: 70.89 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9666, allocations: 9 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.9666, allocations: 5.281 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9666, allocations: 0.5312 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.9666, allocations: 9.672 kB / 1.283 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9666, allocations: 5.391 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.9667, allocations: 8.25 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.9667, allocations: 1.25 kB / 1.283 GB, free: 8.555 MB / 0.9981 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.9668, allocations: 125.9 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.9669, allocations: 10.84 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.9669, allocations: 6.109 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9669, allocations: 1.281 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9669, allocations: 0.5625 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9669, allocations: 0.7812 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.9671, allocations: 178.2 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9671, allocations: 0.5312 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.9672, allocations: 5.781 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9672, allocations: 4.812 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.9672, allocations: 1.109 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9672, allocations: 4.5 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9672, allocations: 1.125 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.9674, allocations: 158 kB / 1.283 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.9674, allocations: 80.03 kB / 1.283 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.9675, allocations: 5.688 kB / 1.283 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.9675, allocations: 9.125 kB / 1.283 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.9676, allocations: 11.39 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.9676, allocations: 5.859 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.9677, allocations: 96.89 kB / 1.283 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9677, allocations: 0 / 1.283 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002449/0.9679, allocations: 15.33 kB / 1.283 GB, free: 7.852 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005662/0.9685, allocations: 0.6871 MB / 1.284 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.9687, allocations: 37.33 kB / 1.284 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9687, allocations: 0 / 1.284 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.829e-05/0.9687, allocations: 16 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.9691, allocations: 4.234 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.9706, allocations: 1.334 MB / 1.285 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.971, allocations: 0.6925 MB / 1.286 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.398e-05/0.971, allocations: 8.25 kB / 1.286 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.9711, allocations: 20.84 kB / 1.286 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.9711, allocations: 1.188 kB / 1.286 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.991, allocations: 1.806 MB / 1.288 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.446, allocations: 9.406 kB / 1.288 GB, free: 4.789 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.845837662986014] Failed to read output from testmodel.py, exit status != 0: 9.574197661015205 9.588898622 8.622830398 Calling exit ...