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.001292/0.001292, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001451/0.001451, allocations: 213.5 kB / 22.99 MB, free: 4.953 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [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.002022/0.002022, allocations: 65.14 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002445/0.3599, allocations: 1.014 MB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3616, allocations: 1.264 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3617, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3619, allocations: 23.73 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.3619, allocations: 23.75 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.3625, allocations: 184.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3628, allocations: 252.1 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.363, allocations: 80.81 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3631, allocations: 95.66 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3632, allocations: 99.52 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.3633, allocations: 28 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.3634, allocations: 43.98 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.3634, allocations: 35.86 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3635, allocations: 91.58 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.3639, allocations: 324.2 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3639, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3639, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.364, allocations: 0 / 1.331 GB, free: 13.48 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.0007935/0.3647, allocations: 447.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3648, allocations: 8.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.3649, allocations: 20.84 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3652, allocations: 200.6 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3653, allocations: 16.38 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.3653, allocations: 16.38 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3656, allocations: 167.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3656, allocations: 192 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3656, allocations: 7.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3656, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3658, allocations: 87.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.3666, allocations: 459.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3669, allocations: 98.45 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.3669, allocations: 32.86 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.367, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3671, allocations: 121 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3671, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003168/0.3674, allocations: 137.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3675, allocations: 55.41 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3677, allocations: 168.3 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.3677, allocations: 33.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3678, allocations: 140.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3678, allocations: 35.73 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.3679, allocations: 41.7 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3681, allocations: 334.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3683, allocations: 85.67 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3684, allocations: 112.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3686, allocations: 125.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004237/0.369, allocations: 260.9 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.3691, allocations: 37.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3691, allocations: 3.984 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3691, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.3692, allocations: 19.92 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3692, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3694, allocations: 31.97 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.3695, allocations: 11.98 kB / 1.334 GB, free: 9.977 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.0001328/0.3696, allocations: 138.4 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3696, allocations: 11.91 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3697, allocations: 16.72 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3697, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3697, allocations: 4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.3697, allocations: 3.984 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3699, allocations: 169.1 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3699, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.3699, allocations: 15.92 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3699, allocations: 8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3699, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3699, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3699, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3702, allocations: 144.9 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.3702, allocations: 7.953 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.3702, allocations: 15.92 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.3703, allocations: 4 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3703, allocations: 15.97 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3703, allocations: 4 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3704, allocations: 117.9 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3704, allocations: 4 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002477/0.3707, allocations: 47.84 kB / 1.334 GB, free: 9.191 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.0001601/0.3708, allocations: 111.2 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.3712, allocations: 200.9 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3712, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.3713, allocations: 40.86 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3715, allocations: 28.05 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.3721, allocations: 307.1 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3722, allocations: 103.9 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.3722, allocations: 19.44 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3722, allocations: 4 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of Templates: time 0.004363/0.3766, allocations: 2.213 MB / 1.337 GB, free: 6.137 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/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: 11.12793316601892]