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.00122/0.00122, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001371/0.001371, allocations: 211.3 kB / 23.04 MB, free: 5.074 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.451/3.451, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 MB / 0.6231 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.001983/0.001983, allocations: 63.83 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4247, allocations: 179 MB / 1.345 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002022/0.4267, allocations: 0.7129 MB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.428, allocations: 0.8976 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.428, allocations: 0 / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.4281, allocations: 3.938 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.4282, allocations: 11.88 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.4284, allocations: 31.89 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.4285, allocations: 55.86 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4286, allocations: 11.98 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.4287, allocations: 39.84 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.4288, allocations: 27.86 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.4288, allocations: 4 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.4288, allocations: 8 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.4289, allocations: 19.92 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.4289, allocations: 19.88 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.4291, allocations: 79.91 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4291, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4291, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.4291, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 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.0004719/0.4295, allocations: 294.1 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4296, allocations: 12.03 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.4296, allocations: 192 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.4296, allocations: 42.67 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.4298, allocations: 12.89 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.43, allocations: 134.4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.43, allocations: 4.375 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4301, allocations: 4.375 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.4302, allocations: 69.97 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4302, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4302, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4302, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.4303, allocations: 35.91 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.4308, allocations: 263.9 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.431, allocations: 62.53 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.4311, allocations: 24.94 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4311, allocations: 3.984 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4312, allocations: 34.56 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4312, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.4314, allocations: 77.62 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4315, allocations: 55.39 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4316, allocations: 117.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4316, allocations: 29.64 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.4317, allocations: 100 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.4317, allocations: 11.89 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.4317, allocations: 21.72 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4319, allocations: 322.8 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.4319, allocations: 15.94 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.432, allocations: 29.7 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.4321, allocations: 24.84 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4321, allocations: 4 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001467/0.4322, allocations: 65.7 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4322, allocations: 5.875 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4322, allocations: 0 / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4323, allocations: 4 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.4323, allocations: 4 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4323, allocations: 7.922 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.4324, allocations: 7.953 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.4324, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 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 9.699e-05/0.4325, allocations: 121.8 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.4325, allocations: 7.984 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.4325, allocations: 8 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4325, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4325, allocations: 4 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4326, allocations: 4 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.4327, allocations: 148.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4327, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.4328, allocations: 8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4328, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.4328, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4328, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4328, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.433, allocations: 163.4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.433, allocations: 3.953 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.433, allocations: 8.359 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.4331, allocations: 4 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.4331, allocations: 11.98 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4332, allocations: 4 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.4332, allocations: 99.58 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4332, allocations: 0 / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000221/0.4334, allocations: 8 kB / 1.35 GB, free: 11.88 MB / 1.045 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.0005008/0.4339, allocations: 0.7007 MB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4341, allocations: 39.86 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4341, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.4342, allocations: 19.98 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4345, allocations: 5.375 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.4361, allocations: 1.341 MB / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4364, allocations: 0.6922 MB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.4364, allocations: 4 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.4365, allocations: 19.42 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4365, allocations: 0 / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4615, allocations: 1.896 MB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.61, allocations: 10.25 kB / 1.354 GB, free: 7.172 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.93270941497758] Failed to read output from testmodel.py, exit status != 0: 11.771090997033753 11.798999654 11.364859805 Calling exit ...