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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005843/0.005843, allocations: 96.53 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.883/2.883, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 63.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3395, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00185/0.3414, allocations: 0.7065 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3425, allocations: 0.839 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3425, allocations: 4 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.3426, allocations: 7.922 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.3427, allocations: 7.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.3429, allocations: 19.92 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.343, allocations: 63.77 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3431, allocations: 31.92 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.3432, allocations: 23.92 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.3433, allocations: 31.8 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3433, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.3433, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3433, allocations: 15.97 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3434, allocations: 19.88 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3435, allocations: 67.72 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3435, allocations: 0 / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3435, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3435, allocations: 0 / 1.222 GB, free: 12.84 MB / 0.9825 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.0004808/0.344, allocations: 367.3 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3441, allocations: 8.031 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.3441, allocations: 34.75 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.3442, allocations: 8.891 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3444, allocations: 204.1 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3444, allocations: 8.359 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3445, allocations: 4.375 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3446, allocations: 58.23 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3446, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3446, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3447, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3448, allocations: 31.97 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3452, allocations: 292.8 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.3455, allocations: 74.45 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.3455, allocations: 16.92 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3456, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3456, allocations: 38.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3456, allocations: 4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.3459, allocations: 81.64 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3459, allocations: 51.41 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.346, allocations: 121.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.346, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.3461, allocations: 100 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3461, allocations: 7.953 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3461, allocations: 17.72 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.3463, allocations: 326.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.3463, allocations: 15.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.3464, allocations: 25.72 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.3465, allocations: 28.78 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3465, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.3466, allocations: 69.66 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3467, allocations: 4 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3467, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3467, allocations: 4 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.3467, allocations: 11.92 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3468, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.3468, allocations: 4 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3468, allocations: 3.984 kB / 1.223 GB, free: 10.58 MB / 0.9825 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 9.653e-05/0.3469, allocations: 122.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.347, allocations: 4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.347, allocations: 8.234 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.347, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.347, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.347, allocations: 3.984 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3472, allocations: 181.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3472, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.3473, allocations: 8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3473, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3473, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3473, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3473, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3475, allocations: 155.5 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.3475, allocations: 81.06 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3476, allocations: 4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3477, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3477, allocations: 15.92 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3477, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.3478, allocations: 95.27 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3478, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000234/0.348, allocations: 8 kB / 1.224 GB, free: 9.785 MB / 0.9825 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.0004998/0.3485, allocations: 0.7079 MB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.3487, allocations: 31.98 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3487, allocations: 0 / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.3488, allocations: 15.92 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3491, allocations: 9.875 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3505, allocations: 1.349 MB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3508, allocations: 0.6846 MB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.3508, allocations: 4 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.3509, allocations: 23.42 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3509, allocations: 0 / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.3686, allocations: 1.75 MB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.455, allocations: 12.64 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB (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 50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[505]=1800.000000 File[1377]=1124.640000 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! " Variables in the reference:time,shaT.THigh,shaT.TLow,shaT.T,shaT.y Variables in the result:time,T.y,shaT.y,T.amplitude,T.freqHz,T.offset