Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001319/0.001319, 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.001506/0.001506, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.486/3.486, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.002033/0.002033, allocations: 72.34 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3907, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002669/0.3934, allocations: 0.6895 MB / 1.346 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3946, allocations: 0.8822 MB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3946, allocations: 0 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.3946, allocations: 7.875 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.3947, allocations: 7.938 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.395, allocations: 35.84 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.3951, allocations: 55.84 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3952, allocations: 11.98 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3953, allocations: 35.86 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.3954, allocations: 27.84 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3954, allocations: 8 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.3954, allocations: 8 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3955, allocations: 15.92 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.3955, allocations: 15.94 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3956, allocations: 83.91 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3957, allocations: 4 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3957, allocations: 0 / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3957, allocations: 0 / 1.347 GB, free: 14.05 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.0005922/0.3963, allocations: 290.1 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.3963, allocations: 8.031 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.3963, allocations: 192 / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.3964, allocations: 38.73 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.3966, allocations: 16.89 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3969, allocations: 142.3 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3969, allocations: 4.375 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3969, allocations: 4.375 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3971, allocations: 61.98 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3971, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3971, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3971, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3972, allocations: 39.84 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.3977, allocations: 263.8 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.398, allocations: 66.53 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.398, allocations: 16.92 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3981, allocations: 0 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3981, allocations: 34.64 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.3981, allocations: 3.984 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002627/0.3984, allocations: 77.56 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3984, allocations: 59.41 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.3985, allocations: 117.8 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3985, allocations: 25.7 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.3986, allocations: 100 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.3986, allocations: 7.953 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3986, allocations: 13.72 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3988, allocations: 326.8 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.3989, allocations: 15.98 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.709e-05/0.3989, allocations: 47.42 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.399, allocations: 44.8 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.399, allocations: 0 / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.3992, allocations: 61.64 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3992, allocations: 8 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3992, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3992, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.3992, allocations: 7.984 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3992, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.3993, allocations: 11.98 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3993, allocations: 4 kB / 1.349 GB, free: 11.96 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 (shaH.hys.y,$PRE.shaH.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.498e-05/0.3994, allocations: 117.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3994, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.3995, allocations: 12 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3995, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3995, allocations: 3.938 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3995, allocations: 3.938 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3996, allocations: 144.7 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3996, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3997, allocations: 4 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3997, allocations: 4 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3997, allocations: 3.984 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3997, allocations: 0 / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3997, allocations: 8 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.3999, allocations: 159.4 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.3999, allocations: 7.953 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3999, allocations: 7.938 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.4, allocations: 4 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4001, allocations: 12.34 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4001, allocations: 0 / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.4001, allocations: 99.27 kB / 1.349 GB, free: 11.31 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4001, allocations: 3.938 kB / 1.349 GB, free: 11.3 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002231/0.4004, allocations: 12 kB / 1.349 GB, free: 11.29 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0004863/0.4008, allocations: 0.6889 MB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.401, allocations: 27.98 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.401, allocations: 4 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.401, allocations: 19.92 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4014, allocations: 12 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4029, allocations: 1.336 MB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.403, allocations: 63.34 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.403, allocations: 11.98 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.4031, allocations: 19.44 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4031, allocations: 0 / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.4267, allocations: 1.97 MB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 0 / 1.354 GB, free: 7.176 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.074928142945282] Failed to read output from testmodel.py, exit status != 0: 11.849214121932164 11.874325062 11.474054469 Calling exit ...