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.001289/0.001289, allocations: 107.5 kB / 16.45 MB, free: 6.512 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.001386/0.001386, allocations: 209.7 kB / 19.42 MB, free: 3.648 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.333/3.333, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.002267/0.002267, allocations: 68.52 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3944, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002171/0.3965, allocations: 0.7066 MB / 1.348 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3978, allocations: 0.8865 MB / 1.349 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.3979, allocations: 4 kB / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.3979, allocations: 7.875 kB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.398, allocations: 3.938 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3982, allocations: 31.89 kB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3983, allocations: 63.73 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3985, allocations: 15.98 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3986, allocations: 31.91 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.3987, allocations: 31.8 kB / 1.349 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3987, allocations: 4 kB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.3987, allocations: 11.98 kB / 1.349 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3988, allocations: 8 kB / 1.349 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3988, allocations: 31.8 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.399, allocations: 72.05 kB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.399, allocations: 0 / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.183e-06/0.399, allocations: 3.938 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.399, allocations: 4 kB / 1.35 GB, free: 8.07 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.0005598/0.3995, allocations: 375.2 kB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3996, allocations: 11.98 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3996, allocations: 30.75 kB / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3998, allocations: 20.88 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.4001, allocations: 192.2 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4001, allocations: 12.36 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4001, allocations: 8.375 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4003, allocations: 54.23 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4003, allocations: 3.938 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4003, allocations: 0 / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4003, allocations: 0 / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4004, allocations: 35.97 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.4009, allocations: 296.8 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.4012, allocations: 66.53 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.4013, allocations: 21 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4013, allocations: 0 / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4013, allocations: 34.56 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.4013, allocations: 4 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.4016, allocations: 73.56 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4016, allocations: 51.41 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4018, allocations: 121.8 kB / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4018, allocations: 25.7 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.4019, allocations: 96.09 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4019, allocations: 11.88 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.4019, allocations: 21.72 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4021, allocations: 318.8 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.4022, allocations: 23.92 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.4022, allocations: 25.7 kB / 1.351 GB, free: 5.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.162e-05/0.4023, allocations: 32.78 kB / 1.351 GB, free: 5.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4023, allocations: 0 / 1.351 GB, free: 5.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000147/0.4025, allocations: 69.64 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4025, allocations: 6.188 kB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4025, allocations: 4 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4025, allocations: 0 / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.4026, allocations: 4 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4026, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.4026, allocations: 15.94 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4026, allocations: 7.984 kB / 1.352 GB, free: 5.797 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 0.0001088/0.4027, allocations: 117.8 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.4028, allocations: 4 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.4028, allocations: 12.22 kB / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4028, allocations: 0 / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4028, allocations: 0 / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4028, allocations: 3.984 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.403, allocations: 173.6 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.403, allocations: 11.94 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.4031, allocations: 7.984 kB / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4031, allocations: 0 / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4031, allocations: 0 / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4031, allocations: 4 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4031, allocations: 0 / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.4033, allocations: 159.4 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4033, allocations: 81.06 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.4034, allocations: 4 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.4034, allocations: 7.984 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.4035, allocations: 7.984 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4035, allocations: 8 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.4036, allocations: 91.27 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4036, allocations: 0 / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002199/0.4038, allocations: 11.94 kB / 1.352 GB, free: 5 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.0005802/0.4044, allocations: 0.6967 MB / 1.353 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4045, allocations: 35.97 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4046, allocations: 0 / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.4046, allocations: 15.94 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.405, allocations: 7.984 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4065, allocations: 1.329 MB / 1.354 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4069, allocations: 0.6884 MB / 1.355 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.4069, allocations: 7.984 kB / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.407, allocations: 19.44 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.407, allocations: 0 / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.4361, allocations: 1.749 MB / 1.357 GB, free: 420 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.837, allocations: 17.8 kB / 1.357 GB, free: 404 kB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_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_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaH.H in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.99598229303956]