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.001668/0.001668, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.002112/0.002112, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.331/3.331, allocations: 0.505 GB / 0.8066 GB, free: 23.2 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.003218/0.003218, allocations: 69.75 kB / 1.172 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4154, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001988/0.4174, allocations: 0.7184 MB / 1.348 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4186, allocations: 0.8903 MB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.4186, allocations: 0 / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.4187, allocations: 7.938 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.4188, allocations: 11.88 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.419, allocations: 27.95 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.4191, allocations: 55.78 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4192, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.4194, allocations: 31.86 kB / 1.349 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.4195, allocations: 31.83 kB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.4195, allocations: 4 kB / 1.349 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.4195, allocations: 12 kB / 1.349 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.4195, allocations: 8 kB / 1.349 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.4196, allocations: 31.8 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.4197, allocations: 72.05 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4197, allocations: 3.938 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4197, allocations: 0 / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4197, allocations: 3.938 kB / 1.35 GB, free: 8.066 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.0006654/0.4204, allocations: 375.2 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4205, allocations: 11.98 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.4205, allocations: 34.75 kB / 1.35 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.4207, allocations: 24.88 kB / 1.35 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4209, allocations: 188.2 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.421, allocations: 4.375 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.421, allocations: 8.375 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4211, allocations: 54.23 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4211, allocations: 7.875 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4211, allocations: 0 / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4211, allocations: 3.984 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4212, allocations: 35.92 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.4218, allocations: 296.8 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.422, allocations: 66.47 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.4221, allocations: 25 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.4221, allocations: 0 / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4221, allocations: 34.56 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4221, allocations: 0 / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002979/0.4224, allocations: 73.62 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.4225, allocations: 51.41 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4226, allocations: 121.8 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4226, allocations: 29.7 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.4227, allocations: 100 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.4227, allocations: 11.88 kB / 1.351 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.4228, allocations: 17.72 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.423, allocations: 322.8 kB / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.423, allocations: 12 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.4231, allocations: 33.64 kB / 1.351 GB, free: 5.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.4232, allocations: 32.88 kB / 1.351 GB, free: 5.895 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4232, allocations: 4 kB / 1.351 GB, free: 5.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001425/0.4233, allocations: 61.67 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4233, allocations: 4 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4234, allocations: 4 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4234, allocations: 0 / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.904e-05/0.4234, allocations: 7.938 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4234, allocations: 0 / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.4235, allocations: 15.94 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4235, allocations: 4 kB / 1.352 GB, free: 5.789 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 (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.807e-05/0.4236, allocations: 113.8 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4236, allocations: 4 kB / 1.352 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.4237, allocations: 11.89 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4237, allocations: 4 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4237, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.4237, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.4239, allocations: 181.6 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4239, allocations: 0 / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.4239, allocations: 8 kB / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4239, allocations: 0 / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4239, allocations: 0 / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4239, allocations: 0 / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4239, allocations: 3.938 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.4241, allocations: 167.7 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.4242, allocations: 85.06 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4242, allocations: 7.984 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.4243, allocations: 4 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4243, allocations: 7.984 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.4243, allocations: 4 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.031e-05/0.4244, allocations: 91.27 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4244, allocations: 0 / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002423/0.4246, allocations: 8 kB / 1.352 GB, free: 4.996 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 (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.0005536/0.4252, allocations: 0.7006 MB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.4254, allocations: 35.97 kB / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4254, allocations: 0 / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.4254, allocations: 11.98 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4257, allocations: 14.8 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4276, allocations: 1.335 MB / 1.354 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.428, allocations: 0.6846 MB / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.4281, allocations: 4 kB / 1.355 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.4281, allocations: 23.42 kB / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4281, allocations: 4 kB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.4529, allocations: 1.75 MB / 1.357 GB, free: 408 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.671, allocations: 7.25 kB / 1.357 GB, free: 404 kB / 1.045 GB " [Timeout remaining time 291] (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: 15.844514861004427]