Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001938/0.001938, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002401/0.002401, allocations: 215 kB / 20.13 MB, free: 2.949 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_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.002213/0.002213, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002309/1.217, allocations: 0.7086 MB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.218, allocations: 0.8866 MB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/1.218, allocations: 1.438 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/1.218, allocations: 8.531 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/1.218, allocations: 14.36 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/1.218, allocations: 25.73 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/1.219, allocations: 56.59 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/1.219, allocations: 20.8 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/1.219, allocations: 35.34 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/1.219, allocations: 25.14 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/1.219, allocations: 4.875 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/1.219, allocations: 12.31 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/1.219, allocations: 11.75 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/1.219, allocations: 23.66 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/1.219, allocations: 78.75 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.219, allocations: 0 / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.219, allocations: 1.125 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.219, allocations: 0 / 1.342 GB, free: 14.93 MB / 1.061 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.0004927/1.22, allocations: 372.1 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.22, allocations: 10.31 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/1.22, allocations: 1.438 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/1.22, allocations: 36.61 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/1.22, allocations: 21.03 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/1.22, allocations: 199.5 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/1.22, allocations: 2.312 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/1.22, allocations: 2.656 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/1.22, allocations: 63.73 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.22, allocations: 0 / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.22, allocations: 1.312 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.22, allocations: 0 / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/1.221, allocations: 34.19 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/1.221, allocations: 293.1 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/1.221, allocations: 66.28 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/1.221, allocations: 22.22 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/1.221, allocations: 1.125 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/1.221, allocations: 32.34 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.221, allocations: 0 / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002611/1.222, allocations: 82.47 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.87e-05/1.222, allocations: 56.5 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/1.222, allocations: 119.7 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.222, allocations: 31.67 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/1.222, allocations: 93.12 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.222, allocations: 9.031 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.222, allocations: 15.53 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/1.222, allocations: 321.9 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/1.222, allocations: 15.42 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/1.222, allocations: 30.47 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/1.222, allocations: 34.75 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.222, allocations: 1.938 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/1.222, allocations: 64.81 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.222, allocations: 5.828 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.222, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.222, allocations: 1.094 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/1.222, allocations: 6.281 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.222, allocations: 0.5156 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/1.222, allocations: 15.88 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/1.222, allocations: 2.203 kB / 1.344 GB, free: 13.05 MB / 1.061 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 5.958e-05/1.222, allocations: 121.6 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/1.222, allocations: 2.969 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/1.222, allocations: 10.3 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.222, allocations: 4.734 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.222, allocations: 1.469 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.222, allocations: 0 / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/1.223, allocations: 178.7 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.223, allocations: 0 / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/1.223, allocations: 13.44 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.223, allocations: 1.438 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.223, allocations: 0.5625 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.223, allocations: 1.672 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.223, allocations: 0 / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/1.223, allocations: 164.1 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/1.223, allocations: 88.67 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.223, allocations: 1.219 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/1.223, allocations: 6.172 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/1.223, allocations: 6.375 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.223, allocations: 1.609 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.55e-05/1.223, allocations: 104.7 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.223, allocations: 1.625 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002283/1.223, allocations: 6.031 kB / 1.345 GB, free: 12.36 MB / 1.061 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.0002994/1.224, allocations: 0.6953 MB / 1.345 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.224, allocations: 32.47 kB / 1.345 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.224, allocations: 3.938 kB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/1.224, allocations: 15.77 kB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1.224, allocations: 14.27 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.225, allocations: 1.34 MB / 1.347 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/1.225, allocations: 0.688 MB / 1.347 GB, free: 9.734 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.346e-05/1.225, allocations: 8.344 kB / 1.347 GB, free: 9.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/1.226, allocations: 18.23 kB / 1.347 GB, free: 9.719 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.226, allocations: 0 / 1.347 GB, free: 9.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/1.245, allocations: 1.794 MB / 1.349 GB, free: 9.305 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/9.627, allocations: 15.08 kB / 1.349 GB, free: 9.297 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.706766008981504] Failed to read output from testmodel.py, exit status != 0: 9.75370775803458 9.778134105 8.554440495 Calling exit ...