Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_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.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 194 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5323, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001902/0.5342, allocations: 0.6987 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.5352, allocations: 0.8468 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.5353, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.5353, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.5354, allocations: 15.86 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.5356, allocations: 27.91 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.5357, allocations: 55.8 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.5358, allocations: 27.97 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.5359, allocations: 23.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.536, allocations: 31.84 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.536, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.5361, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.5361, allocations: 15.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.5361, allocations: 19.88 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.5363, allocations: 70 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5363, allocations: 11.88 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5363, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5363, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 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.0004672/0.5368, allocations: 371.2 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5368, allocations: 12.03 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.5369, allocations: 34.73 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.5369, allocations: 4.938 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.5372, allocations: 188.3 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5372, allocations: 384 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5372, allocations: 8.375 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5373, allocations: 58.23 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5374, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5374, allocations: 7.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5374, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.5375, allocations: 31.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.5379, allocations: 304.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5382, allocations: 70.47 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.5382, allocations: 21 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5383, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.5383, allocations: 34.56 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5383, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002375/0.5385, allocations: 73.58 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5386, allocations: 51.41 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.5387, allocations: 129.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5387, allocations: 25.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.5387, allocations: 96.08 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.5388, allocations: 3.906 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.5388, allocations: 25.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.5389, allocations: 314.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.5389, allocations: 19.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.539, allocations: 29.89 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/0.5391, allocations: 28.92 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5391, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/0.5393, allocations: 69.62 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5393, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5393, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5393, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.5394, allocations: 11.94 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5394, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.5394, allocations: 11.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5394, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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 7.867e-05/0.5395, allocations: 121.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.5396, allocations: 11.84 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.5396, allocations: 3.906 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5396, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5396, allocations: 7.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5396, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5398, allocations: 173.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5398, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.5398, allocations: 7.984 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5398, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5399, allocations: 8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5399, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5399, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5401, allocations: 159.4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.5401, allocations: 81.02 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.5401, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.5402, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.5403, allocations: 15.98 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.5403, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.5403, allocations: 95.27 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5403, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002189/0.5405, allocations: 11.94 kB / 1.022 GB, free: 13.59 MB / 0.7794 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.0003871/0.5409, allocations: 0.6967 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5411, allocations: 35.97 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5411, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.5412, allocations: 12 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.5414, allocations: 7.984 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.5426, allocations: 1.332 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.5429, allocations: 0.694 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.5429, allocations: 4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.543, allocations: 19.36 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.543, allocations: 4 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.5585, allocations: 1.726 MB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/7.258, allocations: 5.828 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_10_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