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.01125/0.01125, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.002421/0.002421, allocations: 195.5 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.399/2.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.445/4.445, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003544/0.003544, allocations: 59.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49/1.493, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002778/1.496, allocations: 0.7048 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001471/1.498, allocations: 0.8492 MB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/1.498, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/1.498, allocations: 11.92 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/1.498, allocations: 7.875 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/1.498, allocations: 23.98 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/1.498, allocations: 67.77 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/1.498, allocations: 15.98 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/1.499, allocations: 27.86 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/1.499, allocations: 35.84 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/1.499, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/1.499, allocations: 8 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/1.499, allocations: 7.984 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/1.499, allocations: 23.88 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/1.499, allocations: 66.44 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.499, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/1.499, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.499, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 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.0006743/1.5, allocations: 380.1 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.5, allocations: 8.922 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/1.5, allocations: 42.69 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/1.5, allocations: 4.891 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/1.5, allocations: 192.2 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/1.5, allocations: 4.375 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.5, allocations: 384 / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/1.5, allocations: 62.17 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.501, allocations: 7.938 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/1.501, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.501, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/1.501, allocations: 35.91 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/1.501, allocations: 292.8 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/1.502, allocations: 70.52 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/1.502, allocations: 20.92 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/1.502, allocations: 4.016 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.502, allocations: 34.56 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/1.502, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004197/1.502, allocations: 77.88 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/1.502, allocations: 55.41 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/1.503, allocations: 125.8 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.503, allocations: 25.7 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/1.503, allocations: 100.1 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/1.503, allocations: 7.953 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/1.503, allocations: 13.72 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.503, allocations: 326.8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/1.503, allocations: 19.98 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/1.503, allocations: 25.66 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/1.503, allocations: 32.84 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.503, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/1.503, allocations: 65.62 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.503, allocations: 8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.503, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.503, allocations: 32 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/1.503, allocations: 15.92 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.504, allocations: 3.938 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/1.504, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.504, allocations: 7.984 kB / 1.17 GB, free: 15.66 MB / 0.9044 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.000125/1.504, allocations: 120 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/1.504, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/1.504, allocations: 11.91 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.504, allocations: 4 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.504, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.504, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/1.504, allocations: 177.6 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.504, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/1.504, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.504, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.504, allocations: 3.984 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.504, allocations: 7.922 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.504, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/1.504, allocations: 167.4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/1.505, allocations: 85.06 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.505, allocations: 4 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/1.505, allocations: 4 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/1.505, allocations: 7.984 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/1.505, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.349e-05/1.505, allocations: 95.27 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.505, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002335/1.505, allocations: 11.94 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.0007148/1.506, allocations: 0.6889 MB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002255/1.506, allocations: 36.16 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.506, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/1.506, allocations: 24.06 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/1.506, allocations: 12 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/1.508, allocations: 1.335 MB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.509, allocations: 0.6846 MB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.756e-05/1.509, allocations: 8 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/1.509, allocations: 19.42 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.509, allocations: 0 / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/1.544, allocations: 1.749 MB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.87, allocations: 3.938 kB / 1.175 GB, free: 10.27 MB / 0.9044 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