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.001866/0.001866, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002718/0.002718, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.437/3.437, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.00212/0.00212, allocations: 62.78 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3835, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002128/0.3856, allocations: 0.6973 MB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.387, allocations: 0.8782 MB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.3871, allocations: 0 / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.3871, allocations: 7.922 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3872, allocations: 11.88 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.3875, allocations: 19.92 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3877, allocations: 59.84 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3878, allocations: 19.97 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.388, allocations: 35.88 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3881, allocations: 19.91 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3881, allocations: 8 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.3882, allocations: 15.94 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.3882, allocations: 15.86 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.3883, allocations: 23.92 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3885, allocations: 75.92 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3885, allocations: 0 / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3885, allocations: 0 / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.3885, allocations: 0 / 1.347 GB, free: 14.09 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.0005836/0.3891, allocations: 299.5 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3891, allocations: 8.031 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.719e-05/0.3892, allocations: 4.188 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.3892, allocations: 30.75 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3894, allocations: 16.88 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3897, allocations: 146.3 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3897, allocations: 4.375 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3897, allocations: 384 / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3899, allocations: 65.92 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3899, allocations: 4 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3899, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3899, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.39, allocations: 27.98 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3905, allocations: 255.9 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3907, allocations: 66.47 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.3908, allocations: 25 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3908, allocations: 0 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3908, allocations: 34.56 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3908, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002823/0.3911, allocations: 77.56 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3912, allocations: 51.41 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3913, allocations: 121.8 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3913, allocations: 25.7 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.3914, allocations: 100.1 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3914, allocations: 11.94 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3914, allocations: 25.72 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3916, allocations: 318.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.3916, allocations: 12 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.3917, allocations: 59.41 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.3918, allocations: 29.11 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3918, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.3919, allocations: 73.56 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.392, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.392, allocations: 4.031 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.392, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.392, allocations: 7.938 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.392, allocations: 3.938 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.3921, allocations: 11.98 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3921, allocations: 0 / 1.349 GB, free: 12 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 0.000104/0.3922, allocations: 117.8 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3922, allocations: 4 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.3923, allocations: 11.98 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3923, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3923, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3923, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3925, allocations: 144.7 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3925, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3925, allocations: 4 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3925, allocations: 3.938 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3925, allocations: 4 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3925, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3925, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3928, allocations: 163.4 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3928, allocations: 11.95 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3928, allocations: 7.984 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.3929, allocations: 4 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.3929, allocations: 3.984 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3929, allocations: 4 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.393, allocations: 95.27 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.393, allocations: 0 / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002202/0.3932, allocations: 8 kB / 1.349 GB, free: 11.34 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.0005358/0.3937, allocations: 0.6967 MB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3939, allocations: 31.98 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3939, allocations: 0 / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.394, allocations: 19.92 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3943, allocations: 8 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3958, allocations: 1.345 MB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.3959, allocations: 71.33 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.3959, allocations: 0 / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.3959, allocations: 19.42 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.3959, allocations: 0 / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4194, allocations: 1.962 MB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 8.062 kB / 1.354 GB, free: 7.211 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: 19.176928510074504] Failed to read output from testmodel.py, exit status != 0: 11.980007924954407 12.007640242 11.61422807 Calling exit ...