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.0008773/0.0008773, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001091/0.001091, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9035/0.9035, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.719/1.719, 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_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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.9996 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.082e-05, allocations: 14.16 kB / 0.9996 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001446/0.001467, allocations: 0.695 MB / 1 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002476, allocations: 0.8705 MB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.002541, allocations: 4 kB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.002575, allocations: 3.938 kB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.002673, allocations: 7.875 kB / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.002925, allocations: 35.89 kB / 1.001 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.003025, allocations: 51.8 kB / 1.001 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.003148, allocations: 23.92 kB / 1.001 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.003352, allocations: 39.89 kB / 1.001 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.003433, allocations: 19.92 kB / 1.001 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.003459, allocations: 8 kB / 1.001 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.00351, allocations: 8 kB / 1.001 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.003531, allocations: 19.92 kB / 1.001 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.003563, allocations: 19.98 kB / 1.001 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.003757, allocations: 75.75 kB / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.003761, allocations: 0 / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.166e-06/0.003765, allocations: 0 / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.003773, allocations: 0 / 1.001 GB, free: 10.55 MB / 0.9167 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.0005379/0.004311, allocations: 294.1 kB / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.004368, allocations: 8.75 kB / 1.002 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.00441, allocations: 34.75 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.004567, allocations: 24.88 kB / 1.002 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.004785, allocations: 141.6 kB / 1.002 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.004799, allocations: 384 / 1.002 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.004812, allocations: 4.375 kB / 1.002 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.00494, allocations: 59.02 kB / 1.002 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004949, allocations: 192 / 1.002 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00496, allocations: 4.375 kB / 1.002 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004966, allocations: 8.125 kB / 1.002 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.005032, allocations: 31.91 kB / 1.002 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.005409, allocations: 263.9 kB / 1.002 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.005608, allocations: 74.45 kB / 1.002 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.005641, allocations: 21 kB / 1.002 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.005659, allocations: 0 / 1.002 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.005676, allocations: 30.56 kB / 1.002 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005677, allocations: 3.938 kB / 1.002 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.00587, allocations: 73.67 kB / 1.002 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.005898, allocations: 51.41 kB / 1.003 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.005965, allocations: 121.8 kB / 1.003 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.005978, allocations: 29.7 kB / 1.003 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.006031, allocations: 96.03 kB / 1.003 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.006052, allocations: 11.89 kB / 1.003 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.006085, allocations: 21.7 kB / 1.003 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.006167, allocations: 310.8 kB / 1.003 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.006206, allocations: 15.98 kB / 1.003 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.006261, allocations: 63.41 kB / 1.003 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.006313, allocations: 28.78 kB / 1.003 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006315, allocations: 4 kB / 1.003 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.959e-05/0.006405, allocations: 69.56 kB / 1.003 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.006418, allocations: 4 kB / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006423, allocations: 0 / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.006437, allocations: 4 kB / 1.003 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.006475, allocations: 4 kB / 1.003 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.00648, allocations: 0 / 1.003 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.006511, allocations: 12.02 kB / 1.003 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006517, allocations: 0 / 1.003 GB, free: 8.457 MB / 0.9167 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.773e-05/0.006584, allocations: 117.8 kB / 1.003 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.0066, allocations: 11.89 kB / 1.003 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.006628, allocations: 11.98 kB / 1.003 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00663, allocations: 4 kB / 1.003 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.006635, allocations: 0 / 1.003 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006637, allocations: 3.938 kB / 1.003 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.006756, allocations: 140.7 kB / 1.004 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006757, allocations: 0 / 1.004 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.006781, allocations: 11.98 kB / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006783, allocations: 0 / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.00679, allocations: 0 / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006791, allocations: 0 / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006792, allocations: 0 / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.006915, allocations: 155.8 kB / 1.004 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.006929, allocations: 7.953 kB / 1.004 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.006944, allocations: 48 / 1.004 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.006988, allocations: 19.97 kB / 1.004 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.007037, allocations: 11.92 kB / 1.004 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.007041, allocations: 4 kB / 1.004 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.007091, allocations: 95.27 kB / 1.004 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007091, allocations: 0 / 1.004 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001572/0.007248, allocations: 12 kB / 1.004 GB, free: 7.785 MB / 0.9167 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.0003375/0.007586, allocations: 0.6812 MB / 1.005 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.007723, allocations: 39.91 kB / 1.005 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007726, allocations: 0 / 1.005 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.007757, allocations: 23.98 kB / 1.005 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.008029, allocations: 3.938 kB / 1.005 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.009004, allocations: 1.332 MB / 1.006 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.009058, allocations: 77.11 kB / 1.006 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.009099, allocations: 8 kB / 1.006 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.009146, allocations: 24.42 kB / 1.006 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.009147, allocations: 0 / 1.006 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.02466, allocations: 2.447 MB / 1.008 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.743, allocations: 2.062 kB / 1.008 GB, free: 3.16 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.820096319541335]