Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.002039/0.002039, allocations: 114.8 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.002292/0.002292, allocations: 210.3 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.085/3.085, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 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_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.002045/0.002045, allocations: 69.45 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001786/1.121, allocations: 0.7048 MB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009561/1.122, allocations: 0.8902 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/1.122, allocations: 0 / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/1.122, allocations: 5.625 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/1.122, allocations: 10.28 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/1.122, allocations: 26.34 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/1.122, allocations: 64.61 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/1.122, allocations: 16.22 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/1.122, allocations: 27.83 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/1.122, allocations: 29.25 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/1.122, allocations: 9.688 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/1.122, allocations: 8.688 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/1.122, allocations: 19.03 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/1.122, allocations: 24.92 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/1.122, allocations: 77.5 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.122, allocations: 0.7031 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.12e-07/1.122, allocations: 1.094 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.122, allocations: 0 / 1.342 GB, free: 14.97 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.0003924/1.123, allocations: 372.2 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.123, allocations: 13.59 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.048e-05/1.123, allocations: 1.562 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.924e-05/1.123, allocations: 32.61 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/1.123, allocations: 16.83 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.123, allocations: 200 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/1.123, allocations: 6.656 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.123, allocations: 2.844 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/1.123, allocations: 62.5 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.123, allocations: 5.312 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/1.123, allocations: 0.7031 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.123, allocations: 1.156 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/1.124, allocations: 29.12 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/1.124, allocations: 297.1 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/1.124, allocations: 73.75 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/1.124, allocations: 19.19 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/1.124, allocations: 0 / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/1.124, allocations: 33.55 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/1.124, allocations: 0 / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002376/1.124, allocations: 77.77 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/1.125, allocations: 52.75 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/1.125, allocations: 123 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/1.125, allocations: 31.67 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/1.125, allocations: 93.14 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/1.125, allocations: 5.531 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/1.125, allocations: 19.28 kB / 1.343 GB, free: 13.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/1.125, allocations: 322.9 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/1.125, allocations: 17.78 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/1.125, allocations: 28 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/1.125, allocations: 29.89 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.125, allocations: 5.188 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/1.125, allocations: 66.39 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.125, allocations: 4.75 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/1.125, allocations: 32 / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.125, allocations: 5.953 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/1.125, allocations: 5.672 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/1.125, allocations: 0.7031 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/1.125, allocations: 16.77 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/1.125, allocations: 0 / 1.344 GB, free: 13.09 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/1.125, allocations: 122.8 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/1.125, allocations: 3.078 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/1.125, allocations: 14.77 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.125, allocations: 0.5938 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.125, allocations: 5.234 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/1.125, allocations: 0.75 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/1.125, allocations: 173.8 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.125, allocations: 0 / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/1.126, allocations: 7.031 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.126, allocations: 0 / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.126, allocations: 2.078 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.126, allocations: 0 / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.126, allocations: 3.938 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/1.126, allocations: 165.1 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/1.126, allocations: 83.61 kB / 1.344 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.126, allocations: 9 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/1.126, allocations: 6.891 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/1.126, allocations: 6.531 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/1.126, allocations: 1.797 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.173e-05/1.126, allocations: 96.69 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002283/1.126, allocations: 11.94 kB / 1.345 GB, free: 12.4 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 (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 (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.000301/1.126, allocations: 0.6917 MB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.127, allocations: 37.48 kB / 1.345 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.127, allocations: 0 / 1.345 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/1.127, allocations: 16.27 kB / 1.345 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/1.127, allocations: 13.67 kB / 1.345 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.128, allocations: 1.333 MB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/1.128, allocations: 0.6877 MB / 1.347 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.709e-05/1.128, allocations: 4.578 kB / 1.347 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/1.128, allocations: 21.02 kB / 1.347 GB, free: 9.766 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.128, allocations: 0 / 1.347 GB, free: 9.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/1.146, allocations: 1.795 MB / 1.349 GB, free: 9.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.487, allocations: 15.58 kB / 1.349 GB, free: 9.344 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.436914704972878] Failed to read output from testmodel.py, exit status != 0: 9.613759264000691 9.636858208 8.510387374 Calling exit ...