Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.001687/0.001687, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00208/0.00208, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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.622/1.622, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 76.19 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 176.1 MB / 1.321 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002562/0.3637, allocations: 1.08 MB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3655, allocations: 1.272 MB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.3657, allocations: 4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.3658, allocations: 19.73 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.3659, allocations: 27.72 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.3665, allocations: 178.3 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.3669, allocations: 263.9 kB / 1.324 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3671, allocations: 76.72 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3672, allocations: 99.64 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3673, allocations: 99.52 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.3674, allocations: 28 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3675, allocations: 43.98 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.3675, allocations: 31.92 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3677, allocations: 103.5 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3681, allocations: 329.9 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3681, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3681, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3681, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008779/0.369, allocations: 0.5041 MB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.369, allocations: 15.98 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.3691, allocations: 46.73 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.3692, allocations: 20.84 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3695, allocations: 255.9 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3696, allocations: 16.38 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.3696, allocations: 20.38 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3699, allocations: 142 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3699, allocations: 7.938 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3699, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3699, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3701, allocations: 87.91 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009612/0.3711, allocations: 0.5897 MB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3713, allocations: 82.59 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.089e-05/0.3714, allocations: 36.84 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3714, allocations: 192 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.3716, allocations: 95.25 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3716, allocations: 4 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003459/0.3719, allocations: 137.5 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.372, allocations: 55.41 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3722, allocations: 202.8 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.3723, allocations: 33.7 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3724, allocations: 127.9 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3724, allocations: 31.73 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3725, allocations: 41.7 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3727, allocations: 338.8 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3728, allocations: 55.98 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.373, allocations: 78.55 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3732, allocations: 124.2 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3732, allocations: 0 / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004342/0.3736, allocations: 235.1 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.3737, allocations: 37.69 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3737, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3737, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.3738, allocations: 16 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3738, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.3741, allocations: 39.84 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3741, allocations: 11.94 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.3742, allocations: 144 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.3742, allocations: 15.91 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.3743, allocations: 21.39 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3743, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3743, allocations: 7.922 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3743, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3746, allocations: 253.6 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3746, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3746, allocations: 12 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3746, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3746, allocations: 7.984 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3746, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3746, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3749, allocations: 144.9 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.3749, allocations: 89.02 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.375, allocations: 4 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.375, allocations: 11.98 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.3751, allocations: 19.92 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3751, allocations: 4 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001399/0.3753, allocations: 144.4 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002738/0.3755, allocations: 39.89 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006099/0.3761, allocations: 0.6865 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3765, allocations: 172 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3765, allocations: 0 / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.3766, allocations: 36.2 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3769, allocations: 36.2 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.3796, allocations: 1.965 MB / 1.331 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.38, allocations: 0.7163 MB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.93e-05/0.3801, allocations: 21.53 kB / 1.332 GB, free: 7.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3802, allocations: 47.42 kB / 1.332 GB, free: 7.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3802, allocations: 0 / 1.332 GB, free: 7.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.4095, allocations: 3.907 MB / 1.336 GB, free: 3.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.826, allocations: 9.875 kB / 1.336 GB, free: 3.562 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.783893788000569]