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.001288/0.001288, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001562/0.001562, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.22/3.22, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002109/0.002109, allocations: 69.12 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.434, allocations: 176.1 MB / 1.326 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002073/0.4361, allocations: 0.7161 MB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4373, allocations: 0.9016 MB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.4373, allocations: 3.938 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.4374, allocations: 3.938 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.4375, allocations: 11.92 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.4377, allocations: 19.92 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.4378, allocations: 59.83 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4379, allocations: 16 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.438, allocations: 31.86 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.4381, allocations: 35.83 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.4381, allocations: 8 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.4382, allocations: 8 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4382, allocations: 11.94 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.4382, allocations: 27.86 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.4384, allocations: 71.98 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4384, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4384, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4384, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 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.0005032/0.4389, allocations: 294.1 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4389, allocations: 12.03 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.439, allocations: 38.69 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.4391, allocations: 16.88 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4394, allocations: 134.4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4394, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4394, allocations: 4.375 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4395, allocations: 54.23 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4396, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4396, allocations: 8 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4396, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4397, allocations: 35.91 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.4402, allocations: 267.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4405, allocations: 74.52 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.4405, allocations: 16.92 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4405, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4406, allocations: 30.56 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.4406, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002747/0.4408, allocations: 73.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4409, allocations: 55.41 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.441, allocations: 125.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.441, allocations: 33.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.4411, allocations: 88.12 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4411, allocations: 11.89 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.4411, allocations: 17.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4413, allocations: 322.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.4414, allocations: 19.94 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.4414, allocations: 37.67 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.4415, allocations: 28.84 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4415, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/0.4417, allocations: 65.62 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4417, allocations: 8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4417, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4417, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.4418, allocations: 12.02 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4418, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.4418, allocations: 11.94 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.4418, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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 0.0001088/0.4419, allocations: 122.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.442, allocations: 3.953 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.442, allocations: 12 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.442, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.442, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.442, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.4422, allocations: 148.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4422, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.4423, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4423, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4423, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4423, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4423, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.4425, allocations: 163.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.4425, allocations: 11.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4425, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.4426, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.4426, allocations: 11.92 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.4426, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.919e-05/0.4427, allocations: 99.27 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4427, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002304/0.443, allocations: 15.95 kB / 1.33 GB, free: 13.35 MB / 1.029 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.0005385/0.4435, allocations: 0.6812 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.4437, allocations: 36.16 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4437, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.4437, allocations: 20.08 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4441, allocations: 7.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.4457, allocations: 1.351 MB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.446, allocations: 0.6846 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.4461, allocations: 8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.4461, allocations: 19.42 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4461, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.4771, allocations: 1.868 MB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.13, allocations: 10.33 kB / 1.335 GB, free: 8.672 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.334555561001252]