Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001683/0.001683, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002245/0.002245, allocations: 161 kB / 23.01 MB, free: 4.602 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.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.941/2.941, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002288/0.002288, allocations: 71.89 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9802, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002025/0.9822, allocations: 0.7744 MB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.9832, allocations: 0.8632 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.9832, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.9833, allocations: 9.797 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.9834, allocations: 14.45 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.424e-05/0.9835, allocations: 28.56 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.9836, allocations: 94.14 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.9837, allocations: 40.31 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.9838, allocations: 37.64 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.9839, allocations: 41.61 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.9839, allocations: 13.62 kB / 1.189 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.9839, allocations: 9.625 kB / 1.189 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.984, allocations: 16.61 kB / 1.189 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.984, allocations: 36.36 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.9842, allocations: 107.6 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9842, allocations: 1.25 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9842, allocations: 0.6562 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.9842, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 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.0005389/0.9847, allocations: 325.5 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9848, allocations: 13.38 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.9848, allocations: 13.48 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.985, allocations: 140.2 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.985, allocations: 4.188 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.985, allocations: 9.625 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.9853, allocations: 106.9 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9853, allocations: 4.125 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.9854, allocations: 9.281 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.9854, allocations: 6.469 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.9857, allocations: 94.7 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.9861, allocations: 282.3 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.9864, allocations: 79.81 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.9866, allocations: 53.23 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.9866, allocations: 0 / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.9866, allocations: 37.34 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.9866, allocations: 0 / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006047/0.9872, allocations: 167.8 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.9872, allocations: 52.69 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.9873, allocations: 119 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.9873, allocations: 25.7 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.9874, allocations: 99.06 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.9874, allocations: 25.27 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.9874, allocations: 19.95 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.9875, allocations: 318.4 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.9877, allocations: 40.09 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.9878, allocations: 44.69 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.9881, allocations: 92.42 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9881, allocations: 1.375 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003486/0.9885, allocations: 130.4 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9885, allocations: 5.438 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9885, allocations: 1.156 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9885, allocations: 0 / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.9886, allocations: 21.22 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9887, allocations: 1.281 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.9887, allocations: 19.44 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.9887, allocations: 2.188 kB / 1.191 GB, free: 13.15 MB / 1.076 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.743e-05/0.9888, allocations: 121.8 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.9888, allocations: 3.531 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.9889, allocations: 14.89 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9889, allocations: 1.062 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9889, allocations: 0.5156 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9889, allocations: 5.531 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.989, allocations: 131.2 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.989, allocations: 0 / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.9891, allocations: 25.73 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9891, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.9891, allocations: 5.438 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9891, allocations: 0.5625 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9891, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.9895, allocations: 221.9 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.9895, allocations: 14.19 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.9895, allocations: 1.5 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9896, allocations: 19.55 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.9897, allocations: 10.23 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.9897, allocations: 2.406 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.9897, allocations: 92.81 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9897, allocations: 1.188 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002289/0.99, allocations: 15.33 kB / 1.192 GB, free: 12.59 MB / 1.076 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 9.13e-05/0.99, allocations: 98.81 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.9904, allocations: 92.91 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9904, allocations: 5.156 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.9906, allocations: 49.41 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.9909, allocations: 21.45 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.9914, allocations: 178.5 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.9914, allocations: 81.23 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.9915, allocations: 8.125 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.9915, allocations: 16.31 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.9915, allocations: 0 / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of Templates: time 0.003935/0.9954, allocations: 0.9929 MB / 1.193 GB, free: 12.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.336767736938782]