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.001279/0.001279, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001421/0.001421, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.131/3.131, allocations: 0.505 GB / 0.8109 GB, free: 23.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.001994/0.001994, allocations: 68.3 kB / 1.178 GB, free: 16.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 180.2 MB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002203/0.3653, allocations: 0.7752 MB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3664, allocations: 0.8587 MB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.3665, allocations: 4 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.3665, allocations: 11.92 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.3666, allocations: 11.88 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.568e-05/0.3667, allocations: 27.97 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3668, allocations: 91.83 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.367, allocations: 40.38 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.3671, allocations: 39.84 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.3672, allocations: 35.84 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3672, allocations: 11.94 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.3672, allocations: 15.94 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3672, allocations: 19.98 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.3673, allocations: 39.8 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.3674, allocations: 115.5 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3674, allocations: 3.938 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3675, allocations: 0 / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.3675, allocations: 0 / 1.356 GB, free: 5.309 MB / 1.045 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.0006211/0.3681, allocations: 326 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3681, allocations: 8.031 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3682, allocations: 12.89 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3684, allocations: 130.4 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3684, allocations: 4.375 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3684, allocations: 8.375 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.3687, allocations: 115.3 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3687, allocations: 192 / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3687, allocations: 7.938 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3687, allocations: 4 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.3691, allocations: 95.91 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.3695, allocations: 292.2 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3698, allocations: 74.53 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.3699, allocations: 52.81 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3699, allocations: 4 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.37, allocations: 34.56 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.37, allocations: 3.938 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005468/0.3705, allocations: 161.5 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3706, allocations: 55.41 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3707, allocations: 117.8 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3707, allocations: 34.06 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.3708, allocations: 96.03 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3708, allocations: 31.92 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3708, allocations: 17.72 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.371, allocations: 318.8 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3711, allocations: 39.97 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3713, allocations: 43.95 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3715, allocations: 88.72 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3715, allocations: 4 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003349/0.3719, allocations: 121.5 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3719, allocations: 8 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3719, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3719, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.372, allocations: 19.98 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3721, allocations: 3.984 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.3721, allocations: 15.92 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3721, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 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 9.864e-05/0.3722, allocations: 125.7 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3723, allocations: 7.953 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3723, allocations: 16.38 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3723, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3723, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3723, allocations: 3.938 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3725, allocations: 137.3 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3725, allocations: 0 / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.3726, allocations: 23.97 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3726, allocations: 0 / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3726, allocations: 0 / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3726, allocations: 0 / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3726, allocations: 4 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.373, allocations: 223.3 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.373, allocations: 15.88 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.373, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3731, allocations: 11.98 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3732, allocations: 7.984 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3732, allocations: 4 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.3733, allocations: 99.2 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 288 / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002183/0.3735, allocations: 12 kB / 1.359 GB, free: 2.098 MB / 1.045 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.0001274/0.3736, allocations: 103.2 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.374, allocations: 91.8 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.374, allocations: 4 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3741, allocations: 48.73 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3745, allocations: 18.17 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.3749, allocations: 185.9 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.375, allocations: 79.89 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.375, allocations: 7.984 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3751, allocations: 7.438 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3751, allocations: 3.938 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of Templates: time 0.003709/0.3788, allocations: 1.079 MB / 1.361 GB, free: 492 kB / 1.045 GB " [Timeout remaining time 300] 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 gbode -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: 8.509657186004915]