Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008373/0.0008373, 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.001043/0.001043, 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.9076/0.9076, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.429e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00137/0.001395, allocations: 0.7012 MB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.002235, allocations: 0.8744 MB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.00228, allocations: 7.875 kB / 0.9825 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.00231, allocations: 3.938 kB / 0.9825 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.002394, allocations: 3.938 kB / 0.9825 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.002613, allocations: 31.84 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.0027, allocations: 59.78 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.00281, allocations: 19.94 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.002961, allocations: 47.89 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.003026, allocations: 15.98 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.003044, allocations: 4 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.003089, allocations: 11.94 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.003104, allocations: 15.92 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.003131, allocations: 19.92 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.003269, allocations: 75.81 kB / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00327, allocations: 0 / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.143e-06/0.003272, allocations: 0 / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.003277, allocations: 0 / 0.9828 GB, free: 0.7461 MB / 0.9323 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.0003973/0.003674, allocations: 298.1 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.003714, allocations: 8.031 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.003747, allocations: 34.69 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.003869, allocations: 16.88 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.004059, allocations: 137.7 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004074, allocations: 4.375 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.004084, allocations: 4.375 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004192, allocations: 58.17 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004199, allocations: 192 / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.004207, allocations: 4.375 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.004214, allocations: 8.125 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.004278, allocations: 31.97 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.004617, allocations: 248 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.004797, allocations: 74.47 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.004829, allocations: 16.94 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.004845, allocations: 8 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.004861, allocations: 30.56 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004862, allocations: 3.938 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001825/0.005045, allocations: 77.56 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.005073, allocations: 51.41 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.00514, allocations: 121.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.005155, allocations: 33.69 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.005199, allocations: 88.17 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.005217, allocations: 19.88 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.005249, allocations: 21.7 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.005323, allocations: 314.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.005356, allocations: 15.98 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.005408, allocations: 55.41 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.00546, allocations: 28.84 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005462, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.319e-05/0.005545, allocations: 73.52 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005557, allocations: 7.938 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005562, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005574, allocations: 8.344 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.00561, allocations: 8 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005615, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.005645, allocations: 7.984 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005649, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 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.48e-05/0.005714, allocations: 117.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.00573, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.005753, allocations: 8 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.005756, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.00576, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005763, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.005877, allocations: 144.6 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005878, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.005909, allocations: 15.98 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005911, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005918, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00592, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005921, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.006036, allocations: 159.4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006048, allocations: 11.95 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.00606, allocations: 0 / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.006098, allocations: 7.984 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.006138, allocations: 11.98 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006141, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.006182, allocations: 95.27 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006182, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001408/0.006323, allocations: 7.938 kB / 0.9852 GB, free: 14 MB / 0.948 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.000467/0.00679, allocations: 0.7006 MB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.006906, allocations: 31.97 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006908, allocations: 0 / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.006935, allocations: 16 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.007146, allocations: 11.92 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.008037, allocations: 1.326 MB / 0.9872 GB, free: 11.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.008084, allocations: 75.58 kB / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.008116, allocations: 4.422 kB / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.00816, allocations: 16.5 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.22e-07/0.008161, allocations: 4 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02531, allocations: 2.455 MB / 0.9897 GB, free: 9.383 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.795, allocations: 10.91 kB / 0.9897 GB, free: 9.379 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.011410107836127]