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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005134/0.005134, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001525/0.001525, allocations: 188 kB / 16.67 MB, free: 5.914 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2807, allocations: 162.2 MB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001813/0.2826, allocations: 0.6998 MB / 1.242 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2836, allocations: 0.8468 MB / 1.243 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.2836, allocations: 0 / 1.243 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.2837, allocations: 3.938 kB / 1.243 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.2838, allocations: 11.88 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.2839, allocations: 19.91 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.284, allocations: 59.8 kB / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2841, allocations: 23.97 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.2842, allocations: 27.92 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.2843, allocations: 23.86 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2843, allocations: 8 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.2843, allocations: 4 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.2844, allocations: 11.98 kB / 1.243 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.2844, allocations: 31.84 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2845, allocations: 67.66 kB / 1.243 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2846, allocations: 4 kB / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2846, allocations: 0 / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2846, allocations: 3.938 kB / 1.243 GB, free: 8.43 MB / 0.9981 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.0005038/0.2851, allocations: 367.2 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2851, allocations: 12.03 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.2852, allocations: 34.73 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.2852, allocations: 8.891 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2855, allocations: 200.2 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2855, allocations: 4.375 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2855, allocations: 4.375 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2857, allocations: 66.16 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2857, allocations: 3.938 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2857, allocations: 0 / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2857, allocations: 4 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2858, allocations: 27.98 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.2863, allocations: 292.8 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.2866, allocations: 74.47 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.2866, allocations: 21 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.2866, allocations: 0 / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.2867, allocations: 30.56 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2867, allocations: 0 / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002492/0.2869, allocations: 73.62 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.287, allocations: 55.34 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2871, allocations: 121.8 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2871, allocations: 33.7 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.2872, allocations: 92.03 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.2872, allocations: 11.94 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2873, allocations: 17.72 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2874, allocations: 322.8 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.2875, allocations: 15.98 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.2876, allocations: 29.7 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.2877, allocations: 24.84 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2877, allocations: 0 / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001623/0.2878, allocations: 77.56 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2879, allocations: 5.406 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2879, allocations: 4.031 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2879, allocations: 0 / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.2879, allocations: 7.938 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2879, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.288, allocations: 12.31 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.288, allocations: 0 / 1.245 GB, free: 6.176 MB / 0.9981 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.084e-05/0.2881, allocations: 118.3 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2882, allocations: 7.984 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.2882, allocations: 11.89 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2882, allocations: 3.938 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2882, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2882, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2884, allocations: 185.7 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2884, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.2885, allocations: 7.984 kB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2885, allocations: 0 / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2885, allocations: 0 / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2885, allocations: 0 / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2885, allocations: 4 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.2887, allocations: 163.4 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2888, allocations: 85.06 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2888, allocations: 0 / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.2889, allocations: 11.98 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2889, allocations: 7.984 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.2889, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.289, allocations: 99.27 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.289, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002334/0.2893, allocations: 12 kB / 1.246 GB, free: 5.371 MB / 0.9981 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.0005132/0.2898, allocations: 0.6927 MB / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2899, allocations: 35.97 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.29, allocations: 4 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.29, allocations: 12 kB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2903, allocations: 11.98 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2917, allocations: 1.337 MB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.292, allocations: 0.6885 MB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2921, allocations: 4.406 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.2921, allocations: 19.44 kB / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.2921, allocations: 0 / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.3137, allocations: 1.757 MB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.908, allocations: 7.875 kB / 1.25 GB, free: 0.7578 MB / 0.9981 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 400 --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