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.001679/0.001679, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00167/0.00167, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 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.293/3.293, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",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.002118/0.002118, allocations: 63.88 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001899/0.3968, allocations: 0.6935 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3979, allocations: 0.8743 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.398, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.398, allocations: 3.938 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.3981, allocations: 11.88 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.3983, allocations: 23.91 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.259e-05/0.3984, allocations: 55.86 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3985, allocations: 19.97 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3986, allocations: 31.86 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.3987, allocations: 27.86 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3987, allocations: 8 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.3987, allocations: 7.984 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3987, allocations: 15.92 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.3988, allocations: 19.92 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.3989, allocations: 83.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3989, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3989, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3989, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 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.0004661/0.3994, allocations: 286.2 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3994, allocations: 8.031 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.3995, allocations: 38.67 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.3996, allocations: 20.89 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3998, allocations: 134.3 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3998, allocations: 4.375 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3999, allocations: 4.375 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4, allocations: 58.23 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4, allocations: 3.938 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4, allocations: 7.984 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4, allocations: 4 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4001, allocations: 31.91 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4005, allocations: 259.8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4008, allocations: 70.53 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.4009, allocations: 12.92 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.4009, allocations: 12.02 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4009, allocations: 34.56 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4009, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002354/0.4011, allocations: 65.67 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4012, allocations: 55.34 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.4013, allocations: 117.8 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4013, allocations: 29.7 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.4014, allocations: 104.1 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4014, allocations: 11.95 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.4014, allocations: 21.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4016, allocations: 314.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.4016, allocations: 15.98 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.4017, allocations: 63.34 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.4018, allocations: 24.84 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4018, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.4019, allocations: 69.64 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4019, allocations: 10.38 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4019, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4019, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.402, allocations: 11.98 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.402, allocations: 7.922 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.4021, allocations: 7.984 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4021, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 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.17e-05/0.4022, allocations: 117.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4022, allocations: 7.953 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.4022, allocations: 12 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4022, allocations: 4 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4022, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4022, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.4024, allocations: 144.6 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4024, allocations: 4 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.4025, allocations: 7.984 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4025, allocations: 336 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4025, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4025, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4025, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.4027, allocations: 167.4 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.4027, allocations: 11.95 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4027, allocations: 0 / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.4028, allocations: 7.984 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.4028, allocations: 7.984 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.4028, allocations: 0 / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.4029, allocations: 99.27 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4029, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002197/0.4031, allocations: 4 kB / 1.368 GB, free: 9.504 MB / 1.061 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.0004681/0.4036, allocations: 0.6928 MB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.4037, allocations: 39.91 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4037, allocations: 0 / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.4038, allocations: 16 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.4041, allocations: 7.984 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4055, allocations: 1.34 MB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.4055, allocations: 63.34 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.4056, allocations: 7.984 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.4056, allocations: 15.44 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4056, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.4347, allocations: 2.316 MB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 14.12 kB / 1.372 GB, free: 5.016 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv --start-time 0 --stop-time 1800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 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] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaT.THigh in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.01131430407986]