Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.002157/0.002157, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001885/0.001885, allocations: 204 kB / 20.09 MB, free: 2.977 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.957/2.957, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [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.002033/0.002033, allocations: 79.88 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001891/1.122, allocations: 0.8134 MB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/1.122, allocations: 0.8651 MB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/1.123, allocations: 2.719 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/1.123, allocations: 11.2 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/1.123, allocations: 10.59 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.09e-05/1.123, allocations: 28.88 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/1.123, allocations: 93.73 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/1.123, allocations: 35.45 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/1.123, allocations: 44.7 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/1.123, allocations: 38.39 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/1.123, allocations: 8.812 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/1.123, allocations: 19.31 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/1.123, allocations: 15.31 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/1.123, allocations: 43.17 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/1.123, allocations: 113.6 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.123, allocations: 0 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.684e-06/1.123, allocations: 0 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.123, allocations: 0 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005144/1.124, allocations: 409.1 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.124, allocations: 8.688 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/1.124, allocations: 7.828 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.124, allocations: 195.5 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/1.124, allocations: 7.438 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.124, allocations: 6.719 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/1.124, allocations: 101.3 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.124, allocations: 192 / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.124, allocations: 14.69 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.124, allocations: 0 / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/1.125, allocations: 98.41 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/1.125, allocations: 369.4 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/1.125, allocations: 79.59 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/1.125, allocations: 53.06 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.125, allocations: 0 / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.125, allocations: 30.56 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/1.125, allocations: 2.75 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005443/1.126, allocations: 167 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/1.126, allocations: 54.19 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/1.126, allocations: 116.4 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/1.126, allocations: 29.7 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/1.126, allocations: 109.4 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/1.126, allocations: 30.42 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/1.126, allocations: 16.62 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/1.126, allocations: 317.2 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.126, allocations: 42.55 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/1.127, allocations: 44.19 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/1.127, allocations: 86.52 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.127, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003114/1.127, allocations: 120.7 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.127, allocations: 9.594 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.127, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.127, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.127, allocations: 24.17 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/1.127, allocations: 3.938 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/1.127, allocations: 11.8 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/1.127, allocations: 0 / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/1.127, allocations: 124.1 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/1.127, allocations: 6.734 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/1.128, allocations: 11.19 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.128, allocations: 0 / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.128, allocations: 7.938 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.128, allocations: 6.719 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.128, allocations: 199.3 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.128, allocations: 0 / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/1.128, allocations: 22.92 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.128, allocations: 0 / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/1.128, allocations: 4 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.128, allocations: 0 / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.128, allocations: 6.812 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/1.128, allocations: 214.4 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/1.128, allocations: 84.53 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.128, allocations: 4 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.128, allocations: 15.72 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/1.128, allocations: 13.86 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/1.128, allocations: 6.406 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.917e-05/1.128, allocations: 90.36 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.128, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002161/1.129, allocations: 14.44 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001014/1.129, allocations: 104.8 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003523/1.129, allocations: 88.11 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.129, allocations: 3.938 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/1.129, allocations: 50.58 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/1.13, allocations: 21.02 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/1.13, allocations: 221.2 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/1.13, allocations: 0.6921 MB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/1.13, allocations: 11.41 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.13, allocations: 4.906 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of Templates: time 0.002815/1.133, allocations: 1.047 MB / 1.329 GB, free: 19.79 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.537964508999721]