Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000801/0.000801, 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.0008019/0.0008019, allocations: 169.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.9072/0.9072, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.678/1.678, allocations: 359 MB / 0.6037 GB, free: 11.13 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.027e-06/4.027e-06, allocations: 0 / 0.9504 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.885e-05, allocations: 6.219 kB / 0.9504 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001778/0.001806, allocations: 0.6925 MB / 0.9511 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.002805, allocations: 0.8782 MB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002855, allocations: 4 kB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.002888, allocations: 3.938 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.002977, allocations: 11.86 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.003208, allocations: 27.92 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.003295, allocations: 63.78 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003409, allocations: 15.97 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.003589, allocations: 43.84 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.003657, allocations: 23.91 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.003676, allocations: 4 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.337e-05/0.003719, allocations: 8 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.003734, allocations: 11.98 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.003758, allocations: 15.94 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.003901, allocations: 75.75 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003904, allocations: 4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.412e-06/0.003906, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.003911, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 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.0004351/0.004346, allocations: 294.1 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.004395, allocations: 12.03 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.004432, allocations: 38.73 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.004578, allocations: 12.89 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.004773, allocations: 141.6 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.00479, allocations: 12.36 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.0048, allocations: 4.312 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.004915, allocations: 58.23 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.004923, allocations: 192 / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004935, allocations: 4.375 kB / 0.9528 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.004941, allocations: 4.125 kB / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.00501, allocations: 31.97 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.005365, allocations: 247.9 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.005568, allocations: 78.45 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.005602, allocations: 16.92 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005618, allocations: 96 / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005637, allocations: 42.55 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005638, allocations: 0 / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001861/0.005824, allocations: 73.56 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.006015, allocations: 51.41 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.006086, allocations: 121.8 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006099, allocations: 29.64 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.006149, allocations: 100.1 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.006163, allocations: 7.891 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006192, allocations: 21.7 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.006279, allocations: 314.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.006313, allocations: 15.98 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.006365, allocations: 59.41 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.006421, allocations: 28.78 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006423, allocations: 4.031 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.335e-05/0.006506, allocations: 65.58 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.006522, allocations: 8 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.00653, allocations: 4 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006542, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.006578, allocations: 7.984 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006583, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.006614, allocations: 11.98 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00662, allocations: 0 / 0.9541 GB, free: 15.58 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.442e-05/0.006684, allocations: 117.8 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.006698, allocations: 7.938 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.006723, allocations: 8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006726, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.00673, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006733, allocations: 3.938 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.006851, allocations: 148.6 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006852, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.006872, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.006875, allocations: 3.984 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.006882, allocations: 3.938 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006883, allocations: 8 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006884, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.007015, allocations: 156.4 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.007027, allocations: 3.953 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.007048, allocations: 8.047 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.007089, allocations: 11.97 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.007131, allocations: 3.984 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.007136, allocations: 7.938 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.007176, allocations: 91.27 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007176, allocations: 4 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001537/0.007329, allocations: 15.94 kB / 0.9547 GB, free: 14.91 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.0003103/0.00764, allocations: 0.6851 MB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.00776, allocations: 35.97 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007762, allocations: 0 / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.007791, allocations: 15.94 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.008043, allocations: 8 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.009013, allocations: 1.335 MB / 0.9567 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.009065, allocations: 70.16 kB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.009103, allocations: 11.88 kB / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.009153, allocations: 20.5 kB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of SimCode: time 6.72e-07/0.009153, allocations: 0 / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.02821, allocations: 2.452 MB / 0.9592 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.682, allocations: 8.281 kB / 0.9592 GB, free: 10.29 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.825111388228834]