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.0008369/0.0008369, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008043/0.0008043, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8777/0.8777, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.806/1.806, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.294e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00135/0.001373, allocations: 0.6896 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.002203, allocations: 0.8704 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.002255, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.002284, allocations: 3.938 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.002368, allocations: 15.86 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.002571, allocations: 27.8 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.002653, allocations: 63.83 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.002757, allocations: 15.94 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.002905, allocations: 35.95 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.002965, allocations: 27.91 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.002981, allocations: 8 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.943e-05/0.003021, allocations: 11.94 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.003033, allocations: 7.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.003056, allocations: 19.97 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003181, allocations: 71.77 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003183, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003184, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003188, allocations: 4 kB / 1.001 GB, free: 11.67 MB / 0.9636 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.0003578/0.003546, allocations: 294 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.003582, allocations: 12.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.00361, allocations: 30.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.003731, allocations: 16.88 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.003904, allocations: 133.7 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.003917, allocations: 8.375 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.003927, allocations: 4.375 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004033, allocations: 59.02 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.00404, allocations: 4.125 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004048, allocations: 384 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004053, allocations: 4.125 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.00412, allocations: 31.92 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.00443, allocations: 255.9 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.004612, allocations: 74.53 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.004644, allocations: 16.94 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.004657, allocations: 3.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.004672, allocations: 34.56 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004673, allocations: 0 / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001719/0.004845, allocations: 69.62 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.004872, allocations: 55.39 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.005182, allocations: 125.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.005195, allocations: 29.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.005237, allocations: 96.12 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.005251, allocations: 12.02 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.005281, allocations: 17.72 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.005352, allocations: 318.8 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.005387, allocations: 16 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.005437, allocations: 59.34 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.00549, allocations: 28.84 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005492, allocations: 3.938 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.131e-05/0.005583, allocations: 73.59 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005596, allocations: 8 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005601, allocations: 336 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005611, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.13e-05/0.005642, allocations: 4 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.005649, allocations: 11.92 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.005677, allocations: 4 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.005681, allocations: 0 / 1.003 GB, free: 9.586 MB / 0.9636 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 6.064e-05/0.005742, allocations: 117.8 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.005759, allocations: 15.88 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.00578, allocations: 15.94 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005782, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.005787, allocations: 4 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005789, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.005906, allocations: 140.7 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005907, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.005927, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005928, allocations: 4 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005934, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005935, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005936, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006047, allocations: 167.4 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.006057, allocations: 7.984 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.006069, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.006109, allocations: 4 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.006146, allocations: 11.98 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.006148, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.006186, allocations: 91.27 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006186, allocations: 0 / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001561/0.006342, allocations: 11.94 kB / 1.004 GB, free: 8.926 MB / 0.9636 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.0002677/0.00661, allocations: 0.6929 MB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.006721, allocations: 39.92 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006723, allocations: 0 / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.006753, allocations: 15.98 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.006975, allocations: 11.98 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.007905, allocations: 1.337 MB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.007953, allocations: 71.33 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.007988, allocations: 432 / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.008032, allocations: 24.48 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008033, allocations: 7.875 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.02578, allocations: 2.451 MB / 1.008 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.686, allocations: 4.062 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.865550518035889]