Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.778, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001587/0.7796, allocations: 0.7136 MB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.7804, allocations: 0.8482 MB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.7804, allocations: 0.75 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.7804, allocations: 8.859 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.7805, allocations: 10.56 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.7806, allocations: 24.81 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.7807, allocations: 57.14 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.7808, allocations: 20.88 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.7809, allocations: 24.33 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.781, allocations: 24.09 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.781, allocations: 5.625 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.781, allocations: 9.438 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.781, allocations: 12.12 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.7811, allocations: 35.94 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.7812, allocations: 68.08 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7812, allocations: 0.5156 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7812, allocations: 0 / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7812, allocations: 0.75 kB / 1.273 GB, free: 6.445 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.0003616/0.7816, allocations: 363.6 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.7816, allocations: 10.09 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.7816, allocations: 32.98 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.7816, allocations: 8.016 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.7818, allocations: 199.2 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7818, allocations: 6.5 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.7818, allocations: 3.953 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.782, allocations: 59.23 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.782, allocations: 7.875 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.782, allocations: 0.75 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.782, allocations: 0.8125 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.7821, allocations: 29.61 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.7824, allocations: 301.8 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.7826, allocations: 69.81 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.7827, allocations: 19.66 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.7827, allocations: 4 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-06/0.7827, allocations: 32.53 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7827, allocations: 0 / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002124/0.7829, allocations: 72.44 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.7829, allocations: 51.41 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.783, allocations: 121.6 kB / 1.274 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.783, allocations: 30.64 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.783, allocations: 99.25 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.783, allocations: 6.109 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.7831, allocations: 18.16 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.7831, allocations: 323.9 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.7832, allocations: 14.2 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.7832, allocations: 28.36 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.7833, allocations: 33.86 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7833, allocations: 0 / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.7834, allocations: 70.31 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.7834, allocations: 7.781 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.7834, allocations: 0 / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7834, allocations: 0.8594 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.7835, allocations: 6.391 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7835, allocations: 3.938 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.7835, allocations: 10.23 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.7835, allocations: 5.125 kB / 1.275 GB, free: 4.578 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 4.507e-05/0.7836, allocations: 121 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.7836, allocations: 11.05 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.7836, allocations: 13.19 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7836, allocations: 1.812 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.7836, allocations: 0 / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7836, allocations: 1.062 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.7838, allocations: 178.5 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7838, allocations: 4.625 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.7838, allocations: 5.953 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.7838, allocations: 0.9375 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7838, allocations: 0 / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7838, allocations: 4.844 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7838, allocations: 0 / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.7839, allocations: 155.8 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.7839, allocations: 85.39 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.784, allocations: 9.5 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.784, allocations: 3.344 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.7841, allocations: 6.875 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.7841, allocations: 2.984 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.7841, allocations: 96.39 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7841, allocations: 0 / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002081/0.7843, allocations: 15.88 kB / 1.276 GB, free: 3.879 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.0002713/0.7846, allocations: 0.6949 MB / 1.276 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.7847, allocations: 32.83 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.7847, allocations: 0 / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.7848, allocations: 20.77 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.785, allocations: 12.17 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.786, allocations: 1.331 MB / 1.278 GB, free: 17.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7863, allocations: 0.685 MB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.7863, allocations: 6.219 kB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.7863, allocations: 19.64 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.7863, allocations: 7.938 kB / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.8088, allocations: 1.738 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.779, allocations: 13.56 kB / 1.28 GB, free: 16.85 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaT.THigh in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.168913217996305]