Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008463/0.0008463, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.000792/0.000792, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.015/2.015, allocations: 0.5046 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 1.177 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.791/0.7924, allocations: 180 MB / 1.352 GB, free: 1.734 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001579/0.794, allocations: 0.6939 MB / 1.353 GB, free: 1.043 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00081/0.7948, allocations: 0.8821 MB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.7948, allocations: 0 / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.7949, allocations: 3.938 kB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.7949, allocations: 7.922 kB / 1.354 GB, free: 140 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.7951, allocations: 23.92 kB / 1.354 GB, free: 116 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.7952, allocations: 63.78 kB / 1.354 GB, free: 52 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.7953, allocations: 11.98 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.7954, allocations: 43.89 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.7955, allocations: 23.81 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.7955, allocations: 8 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.7956, allocations: 8 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.7956, allocations: 7.984 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.7956, allocations: 27.86 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.7957, allocations: 69.97 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7957, allocations: 0 / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7957, allocations: 0 / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7957, allocations: 0 / 1.354 GB, free: 15.86 MB / 1.042 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.0003717/0.7961, allocations: 298.1 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7961, allocations: 8.922 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.7962, allocations: 42.69 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.7963, allocations: 16.88 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.7964, allocations: 134.5 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.7965, allocations: 384 / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7965, allocations: 4.375 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.7966, allocations: 54.23 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.7966, allocations: 7.938 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7966, allocations: 8 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7966, allocations: 0 / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.7967, allocations: 27.92 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.797, allocations: 259.8 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.7972, allocations: 74.5 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.7972, allocations: 20.92 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.7972, allocations: 3.938 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.7972, allocations: 38.5 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7972, allocations: 0 / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0001812/0.7974, allocations: 69.75 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.7974, allocations: 55.41 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.7975, allocations: 121.8 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.7975, allocations: 29.64 kB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.7976, allocations: 100.1 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.7976, allocations: 7.953 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.7976, allocations: 17.72 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.7977, allocations: 322.8 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.7977, allocations: 12 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.7978, allocations: 59.34 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.7978, allocations: 28.84 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7978, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.387e-05/0.7979, allocations: 65.62 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7979, allocations: 4 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.798, allocations: 12.02 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.798, allocations: 0 / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.798, allocations: 7.984 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.798, allocations: 0 / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.798, allocations: 4 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.798, allocations: 11.94 kB / 1.356 GB, free: 13.76 MB / 1.042 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 6.185e-05/0.7981, allocations: 118.3 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.7981, allocations: 3.953 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.7981, allocations: 12 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7981, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7982, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.7982, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.7983, allocations: 148.6 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7983, allocations: 0 / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.7983, allocations: 4 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.7983, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.7983, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.7983, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7983, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.7984, allocations: 167.7 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.7984, allocations: 11.94 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.7985, allocations: 48 / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.7985, allocations: 7.984 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.7985, allocations: 7.984 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.7986, allocations: 3.938 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.7986, allocations: 103.2 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7986, allocations: 0 / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002199/0.7988, allocations: 8 kB / 1.357 GB, free: 13.09 MB / 1.042 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.0003107/0.7991, allocations: 0.6929 MB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.7992, allocations: 35.92 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.7993, allocations: 0 / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.7993, allocations: 15.98 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.7995, allocations: 8.078 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.8006, allocations: 1.347 MB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.8006, allocations: 71.33 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.8007, allocations: 4 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.8007, allocations: 15.42 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of SimCode: time 5.41e-07/0.8007, allocations: 0 / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09278/0.8935, allocations: 2.308 MB / 1.361 GB, free: 8.621 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.855, allocations: 5.938 kB / 1.361 GB, free: 8.621 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu) > Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 ../Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu) > Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_T_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.917543437331915]