Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_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.001393/0.001393, allocations: 108 kB / 15.61 MB, free: 152 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.001642/0.001642, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.616, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001767/0.6179, allocations: 0.6977 MB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.6186, allocations: 0.8537 MB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.6186, allocations: 0 / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.6186, allocations: 3.938 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.6187, allocations: 9.406 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.6189, allocations: 23.84 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.619, allocations: 62.84 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.6191, allocations: 20.17 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.6192, allocations: 26.48 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.6192, allocations: 26.64 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.6193, allocations: 9.172 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.6193, allocations: 5.469 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.6193, allocations: 17.27 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.6194, allocations: 26.91 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.6194, allocations: 67.39 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6195, allocations: 0 / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6195, allocations: 0 / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6195, allocations: 0 / 0.9515 GB, free: 7.734 MB / 0.7169 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.0003739/0.6198, allocations: 369.9 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6199, allocations: 8.875 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.6199, allocations: 33.22 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.62, allocations: 12.06 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.6202, allocations: 190.1 kB / 0.9521 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6202, allocations: 6.969 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.6202, allocations: 3.562 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.6203, allocations: 55.42 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6203, allocations: 3.938 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.6203, allocations: 1.25 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6204, allocations: 0 / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.542e-05/0.6205, allocations: 36.25 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.6208, allocations: 302.2 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.6211, allocations: 69.97 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.6211, allocations: 21.39 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6211, allocations: 96 / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.6211, allocations: 35.86 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.6212, allocations: 0 / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002278/0.6214, allocations: 70.2 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.6214, allocations: 52.94 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.6215, allocations: 125.1 kB / 0.9529 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6215, allocations: 31.05 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.6215, allocations: 94.33 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.6215, allocations: 9.234 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6216, allocations: 21.83 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.6216, allocations: 324 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.6217, allocations: 15.89 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.6218, allocations: 32.3 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.6218, allocations: 26.84 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6219, allocations: 3.938 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.622, allocations: 71.36 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.622, allocations: 5.219 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.622, allocations: 0 / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.622, allocations: 1.312 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.6221, allocations: 8.422 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.6221, allocations: 4.031 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.6222, allocations: 9.953 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.6222, allocations: 1.188 kB / 0.9535 GB, free: 5.746 MB / 0.7169 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 5.573e-05/0.6222, allocations: 117.8 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.6223, allocations: 1.344 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.6223, allocations: 5.469 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6223, allocations: 6.031 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6223, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6223, allocations: 4 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6224, allocations: 183.2 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6224, allocations: 1.625 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.6225, allocations: 10.91 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6225, allocations: 1 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.6225, allocations: 5.203 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6225, allocations: 0 / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6225, allocations: 0 / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.6227, allocations: 158.8 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.6227, allocations: 83.58 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6227, allocations: 1.25 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.6228, allocations: 10.86 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.6228, allocations: 4.375 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.6229, allocations: 3.984 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.6229, allocations: 89.84 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6229, allocations: 0 / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002284/0.6231, allocations: 14.84 kB / 0.9542 GB, free: 5.031 MB / 0.7169 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.0002986/0.6234, allocations: 0.6979 MB / 0.9548 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.6236, allocations: 30.77 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6236, allocations: 1.281 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.153e-05/0.6237, allocations: 25.05 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.6239, allocations: 13.34 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.6249, allocations: 1.325 MB / 0.9562 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6251, allocations: 0.6943 MB / 0.9569 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.6251, allocations: 6.188 kB / 0.9569 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.6252, allocations: 19.27 kB / 0.9569 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6252, allocations: 0 / 0.9569 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.6407, allocations: 1.721 MB / 0.9586 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.89, allocations: 5.438 kB / 0.9586 GB, free: 1.367 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_9_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