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.00172/0.00172, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001606/0.001606, allocations: 217.7 kB / 23.03 MB, free: 4.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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.903/2.903, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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.002035/0.002035, allocations: 60.2 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002346/0.3398, allocations: 0.6847 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3411, allocations: 0.8823 MB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.3411, allocations: 4 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.958e-05/0.3412, allocations: 7.875 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.3413, allocations: 7.922 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3415, allocations: 27.92 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.3416, allocations: 59.78 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3417, allocations: 23.5 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3419, allocations: 35.84 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.342, allocations: 23.86 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.342, allocations: 4 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.3421, allocations: 16 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.3421, allocations: 7.984 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3421, allocations: 27.86 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3423, allocations: 69.12 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3423, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3423, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3423, allocations: 0 / 1.286 GB, free: 8.812 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.0005474/0.3429, allocations: 290.2 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3429, allocations: 8.031 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.366e-05/0.3429, allocations: 4.188 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.343, allocations: 42.75 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3432, allocations: 16.88 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3434, allocations: 142.3 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3434, allocations: 4.375 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3434, allocations: 384 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3436, allocations: 61.98 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3436, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3436, allocations: 4 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3436, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3437, allocations: 27.98 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3442, allocations: 263.8 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3444, allocations: 66.52 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.3445, allocations: 16.92 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3445, allocations: 0 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3445, allocations: 38.56 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3445, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002688/0.3448, allocations: 77.64 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3448, allocations: 51.41 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.345, allocations: 125.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.345, allocations: 25.7 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3451, allocations: 100.1 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3451, allocations: 7.953 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3451, allocations: 17.72 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3452, allocations: 318.8 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.3453, allocations: 16 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.3454, allocations: 59.41 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.3455, allocations: 33.05 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3455, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001594/0.3456, allocations: 69.62 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3457, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3457, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3457, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.3457, allocations: 7.984 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3457, allocations: 8.031 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.3458, allocations: 4 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.3458, allocations: 0 / 1.288 GB, free: 6.727 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 9.301e-05/0.3459, allocations: 121.8 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3459, allocations: 7.953 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3459, allocations: 11.94 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3459, allocations: 4 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3461, allocations: 144.7 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3461, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.3462, allocations: 4 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3462, allocations: 4 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3462, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3462, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3462, allocations: 3.984 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3464, allocations: 155.4 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.3464, allocations: 15.92 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3464, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.3465, allocations: 8 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3465, allocations: 7.984 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.3465, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.3466, allocations: 103.6 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 0 / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002248/0.3468, allocations: 8 kB / 1.288 GB, free: 6.062 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.0004855/0.3473, allocations: 0.6928 MB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3475, allocations: 39.92 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3475, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.3475, allocations: 19.98 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3478, allocations: 4.078 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3494, allocations: 1.346 MB / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.3494, allocations: 75.33 kB / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.3495, allocations: 4 kB / 1.29 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.3495, allocations: 15.42 kB / 1.29 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3495, allocations: 0 / 1.29 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3774, allocations: 1.963 MB / 1.292 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 8.047 kB / 1.292 GB, free: 1.934 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.963215445983224] Failed to read output from testmodel.py, exit status != 0: 12.659767200937495 12.03595318 11.688439509 Calling exit ...