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.00146/0.00146, allocations: 108.4 kB / 16.46 MB, free: 6.453 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.00148/0.00148, allocations: 216.2 kB / 19.43 MB, free: 3.625 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: 8.945 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.47/3.47, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.002141/0.002141, allocations: 71.59 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.445, allocations: 176.1 MB / 1.321 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002236/0.4472, allocations: 0.8208 MB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4484, allocations: 0.8627 MB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.4485, allocations: 4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.4485, allocations: 7.875 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.85e-05/0.4486, allocations: 7.875 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.097e-05/0.4487, allocations: 31.97 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.4489, allocations: 95.77 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.449, allocations: 32.44 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.4491, allocations: 39.86 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.4492, allocations: 47.75 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.4492, allocations: 8 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.4492, allocations: 8 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.4493, allocations: 23.92 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.4493, allocations: 39.8 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.4495, allocations: 118.5 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4495, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.225e-06/0.4495, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4495, allocations: 0 / 1.323 GB, free: 0.8047 MB / 1.014 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.0006694/0.4502, allocations: 399.1 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4502, allocations: 8.031 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.4503, allocations: 12.89 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4505, allocations: 192.2 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4505, allocations: 4.375 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4505, allocations: 12.38 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.4509, allocations: 108.6 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4509, allocations: 192 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4509, allocations: 7.938 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4509, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.4513, allocations: 103.8 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.4518, allocations: 360.5 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.4521, allocations: 82.52 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4523, allocations: 52.83 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.4523, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4523, allocations: 34.56 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.4523, allocations: 3.984 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006584/0.453, allocations: 165.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.453, allocations: 55.34 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4532, allocations: 125.7 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4532, allocations: 25.7 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.4533, allocations: 104 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.4533, allocations: 23.78 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.4533, allocations: 17.72 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4535, allocations: 326.8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.4537, allocations: 35.97 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.4539, allocations: 35.95 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.4542, allocations: 88.78 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4542, allocations: 4 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003896/0.4546, allocations: 125.5 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4546, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4546, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4546, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4548, allocations: 27.97 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4548, allocations: 7.938 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.4549, allocations: 11.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4549, allocations: 4 kB / 1.326 GB, free: 14.06 MB / 1.029 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 0.0001102/0.455, allocations: 113.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.455, allocations: 3.953 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.455, allocations: 16.38 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.455, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4551, allocations: 3.938 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4551, allocations: 4 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.4553, allocations: 193.6 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4553, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4554, allocations: 23.91 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4554, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4554, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4554, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4554, allocations: 3.938 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.4559, allocations: 228.3 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.4559, allocations: 81.06 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4559, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4561, allocations: 11.98 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.4561, allocations: 23.8 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.4561, allocations: 0 / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.4562, allocations: 99.2 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4562, allocations: 0 / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002271/0.4564, allocations: 15.94 kB / 1.327 GB, free: 13.16 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: 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.0001317/0.4566, allocations: 107.2 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.457, allocations: 84 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.457, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.4572, allocations: 56.03 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4575, allocations: 20.64 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.458, allocations: 187.7 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4584, allocations: 0.6924 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.4584, allocations: 7.984 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4585, allocations: 11.44 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4585, allocations: 0 / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Templates: time 0.003865/0.4623, allocations: 0.9539 MB / 1.329 GB, free: 11.03 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/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: 9.64435690594837]