Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 76.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002399, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002328, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1848/1.23, allocations: 53.66 MB / 243.2 MB, free: 2.402 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.864/1.864, allocations: 378.2 MB / 0.6076 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1794/2.044, allocations: 123.3 MB / 0.728 GB, free: 12.99 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7292 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.226e-05, allocations: 9.906 kB / 0.7292 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.00139/0.001402, allocations: 1.077 MB / 0.7302 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002524, allocations: 1.368 MB / 0.7316 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.002605, allocations: 4 kB / 0.7316 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.002659, allocations: 27.67 kB / 0.7316 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.00271, allocations: 27.73 kB / 0.7316 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.003077, allocations: 255.4 kB / 0.7319 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.003304, allocations: 295.5 kB / 0.7322 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.00341, allocations: 65.98 kB / 0.7322 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.003559, allocations: 183.7 kB / 0.7324 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.003661, allocations: 83.73 kB / 0.7325 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.003694, allocations: 36 kB / 0.7325 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.196e-05/0.003765, allocations: 40 kB / 0.7326 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.003792, allocations: 35.86 kB / 0.7326 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.003851, allocations: 63.92 kB / 0.7327 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.00404, allocations: 183.4 kB / 0.7328 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.004048, allocations: 0 / 0.7328 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.3e-07/0.004048, allocations: 0 / 0.7328 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.004057, allocations: 4 kB / 0.7328 GB, free: 8.012 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004432/0.0045, allocations: 431.2 kB / 0.7332 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.004528, allocations: 8.031 kB / 0.7332 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.004557, allocations: 50.72 kB / 0.7333 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.004598, allocations: 28.92 kB / 0.7333 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004759, allocations: 162.2 kB / 0.7335 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.004777, allocations: 16.38 kB / 0.7335 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.0048, allocations: 24.36 kB / 0.7335 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004904, allocations: 102.9 kB / 0.7336 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.004912, allocations: 192 / 0.7336 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004919, allocations: 4.375 kB / 0.7336 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004926, allocations: 8.125 kB / 0.7336 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/0.004964, allocations: 27.98 kB / 0.7337 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.005359, allocations: 351.1 kB / 0.734 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.005456, allocations: 66.47 kB / 0.7341 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.005477, allocations: 20.86 kB / 0.7341 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.005494, allocations: 3.938 kB / 0.7341 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.423e-05/0.005588, allocations: 99.31 kB / 0.7342 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.005589, allocations: 0 / 0.7342 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001396/0.005729, allocations: 109.6 kB / 0.7343 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.005756, allocations: 59.41 kB / 0.7343 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.005843, allocations: 182.5 kB / 0.7345 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.005866, allocations: 33.7 kB / 0.7345 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.005911, allocations: 116.5 kB / 0.7347 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.005937, allocations: 39.72 kB / 0.7347 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.006003, allocations: 61.64 kB / 0.7347 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.006075, allocations: 326.8 kB / 0.7351 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.00616, allocations: 107.4 kB / 0.7352 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.006254, allocations: 148.5 kB / 0.7353 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.006375, allocations: 188.1 kB / 0.7355 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006377, allocations: 0 / 0.7355 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002223/0.006599, allocations: 304.2 kB / 0.7358 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.00664, allocations: 67.39 kB / 0.7358 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006645, allocations: 7.938 kB / 0.7358 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.006654, allocations: 3.984 kB / 0.7358 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.006702, allocations: 20.09 kB / 0.7359 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006704, allocations: 0 / 0.7359 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.006834, allocations: 51.84 kB / 0.7359 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.006851, allocations: 8 kB / 0.7359 GB, free: 4.535 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (sam.yRec.y,$PRE.sam.yRec.y,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,u.booPul.y,$PRE.u.booPul.y,resSig.y,$PRE.resSig.y,sam.edgThr.y,sam.edgThr.u,$PRE.sam.edgThr.u,sam.edgRes.u,$PRE.sam.edgRes.u,sam.samTri.y,sam.samTri.u2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.223e-05/0.006923, allocations: 129.8 kB / 0.736 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.006937, allocations: 11.98 kB / 0.7361 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.006961, allocations: 25.41 kB / 0.7361 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006965, allocations: 8 kB / 0.7361 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.006967, allocations: 0 / 0.7361 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006971, allocations: 7.922 kB / 0.7361 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.007192, allocations: 314.1 kB / 0.7364 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.007193, allocations: 0 / 0.7364 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.007212, allocations: 11.88 kB / 0.7364 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007215, allocations: 4 kB / 0.7364 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007223, allocations: 3.984 kB / 0.7364 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007224, allocations: 0 / 0.7364 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007225, allocations: 4 kB / 0.7364 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.007316, allocations: 183.9 kB / 0.7366 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.00733, allocations: 19.78 kB / 0.7366 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.007351, allocations: 11.98 kB / 0.7366 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.00739, allocations: 3.984 kB / 0.7366 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.007415, allocations: 11.98 kB / 0.7366 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.007422, allocations: 7.984 kB / 0.7366 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.007454, allocations: 40.81 kB / 0.7367 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007454, allocations: 0 / 0.7367 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001649/0.007619, allocations: 51.94 kB / 0.7367 GB, free: 3.645 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (sam.samTri.y,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,sam.yRec.y,sam.samTri.u2,sam.edgRes.u,sam.edgThr.u,sam.edgThr.y,resSig.y,u.booPul.y) * Number of discrete states: 2 (sam.edgThr.u,sam.edgRes.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001876/0.007807, allocations: 0.5603 MB / 0.7373 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.008022, allocations: 294.9 kB / 0.7376 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.008025, allocations: 0 / 0.7376 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.008069, allocations: 40.78 kB / 0.7376 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008226, allocations: 32.05 kB / 0.7376 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.00925, allocations: 1.4 MB / 0.739 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.009284, allocations: 71.98 kB / 0.7391 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.009325, allocations: 17.48 kB / 0.7391 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.009467, allocations: 131.3 kB / 0.7392 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.009468, allocations: 0 / 0.7392 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FMU documentation: time 0.02326/0.03273, allocations: 6.32 MB / 0.7454 GB, free: 10.86 MB / 0.7292 GB Notification: FMU-only work: backend 0.0001, simCode 0.0006162, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/0.09423, allocations: 1.371 MB / 0.7467 GB, free: 9.434 MB / 0.7292 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.744/2.838, allocations: 23.36 kB / 0.7467 GB, free: 9.41 MB / 0.7292 GB " [Timeout remaining time 297] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.fmu) > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv --output-variables u.y resSig.y sam.y --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.fmu) > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv: Error: Error opening file: Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,u.y,resSig.y,sam.y Variables in the result: filterSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 300] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of /mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy.diff.ref.mat: "" (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0004 ../Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.fmu) > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable resSig.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable resSig.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable sam.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable sam.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,u.y,resSig.y,sam.y Variables in the result:time,u.y,resSig.period,resSig.shift,resSig.width filterSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.diff.mat", vars={"sam.y", "resSig.y"}, removeDescription=false) [Timeout 300] "Error: Could not read variable sam.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 300] Failed to write the differing variables of Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"sam.y", "resSig.y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.630849428474903]