Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001792/0.001792, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002361/0.002361, allocations: 213.3 kB / 23.04 MB, free: 5.055 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.881/2.881, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 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_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_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.002087/0.002087, allocations: 61 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00208/0.3405, allocations: 0.7166 MB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3417, allocations: 0.8938 MB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.3417, allocations: 0 / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.3417, allocations: 3.938 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.3418, allocations: 11.88 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.342, allocations: 27.97 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3421, allocations: 55.8 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3422, allocations: 27.91 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3424, allocations: 31.86 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.3424, allocations: 23.92 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3425, allocations: 4 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.3425, allocations: 11.98 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.3425, allocations: 19.92 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.3426, allocations: 19.88 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3427, allocations: 79.2 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3427, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3427, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.3427, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 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.000492/0.3432, allocations: 290.2 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3433, allocations: 8.031 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.3433, allocations: 8.125 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3433, allocations: 38.73 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3435, allocations: 12.89 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3437, allocations: 138.3 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3437, allocations: 8.375 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3438, allocations: 4.375 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3439, allocations: 61.98 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3439, allocations: 0 / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3439, allocations: 0 / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.3439, allocations: 0 / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.344, allocations: 31.92 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3444, allocations: 275.8 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3447, allocations: 62.53 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.3448, allocations: 24.94 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3448, allocations: 3.938 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3448, allocations: 38.56 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3448, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000264/0.3451, allocations: 73.62 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3451, allocations: 51.41 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3453, allocations: 121.8 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3453, allocations: 25.7 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.3453, allocations: 96.08 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3454, allocations: 7.938 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.3454, allocations: 21.72 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3455, allocations: 318.8 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.3456, allocations: 15.94 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3457, allocations: 33.7 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.3457, allocations: 24.84 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3457, allocations: 3.938 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.3459, allocations: 73.66 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3459, allocations: 4 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3459, allocations: 4 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3459, allocations: 0 / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.346, allocations: 12.27 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.346, allocations: 0 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.3461, allocations: 7.984 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3461, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 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.0001011/0.3462, allocations: 121.8 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3462, allocations: 11.94 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3462, allocations: 11.98 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3462, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3462, allocations: 4 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3462, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3464, allocations: 144.7 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3464, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.3465, allocations: 7.984 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3465, allocations: 7.938 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.3465, allocations: 4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3465, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3465, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.3467, allocations: 163.4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.3467, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3467, allocations: 4 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.3468, allocations: 7.984 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3468, allocations: 11.98 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3468, allocations: 4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.3469, allocations: 91.27 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3469, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002302/0.3471, allocations: 11.95 kB / 1.288 GB, free: 7.113 MB / 0.9825 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.0004994/0.3476, allocations: 0.689 MB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.3478, allocations: 35.91 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3478, allocations: 4 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.3479, allocations: 15.98 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3482, allocations: 7.938 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3497, allocations: 1.347 MB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.35, allocations: 0.6868 MB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.35, allocations: 4.422 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3501, allocations: 19.42 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3501, allocations: 4 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3721, allocations: 1.895 MB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.64, allocations: 15.98 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.768713856989052] Failed to read output from testmodel.py, exit status != 0: 12.428310470015276 11.831353328 11.484320568 Calling exit ...