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.001843/0.001843, allocations: 83.69 kB / 20.23 MB, free: 4.18 MB / 18.57 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.002092/0.002092, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.027/3.027, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.178e-05, allocations: 12.92 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002139/0.002171, allocations: 0.7904 MB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.00336, allocations: 0.8666 MB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.003409, allocations: 3.938 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.003441, allocations: 9.125 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.003548, allocations: 11.92 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.235e-05/0.003621, allocations: 33.14 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003757, allocations: 91.78 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.003888, allocations: 36.42 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.004013, allocations: 57.58 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.004077, allocations: 23.91 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.004102, allocations: 8 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.00412, allocations: 12 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.004152, allocations: 27.84 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.004191, allocations: 20.89 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.004383, allocations: 119.6 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004385, allocations: 0.6875 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004386, allocations: 0 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.00439, allocations: 0.9062 kB / 0.8129 GB, free: 15.96 MB / 0.7761 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.0007516/0.005141, allocations: 420.6 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005178, allocations: 8.031 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.005237, allocations: 13.86 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.005451, allocations: 140.4 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.005467, allocations: 9.125 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.005481, allocations: 4.375 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.005734, allocations: 98.86 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005744, allocations: 1.438 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005756, allocations: 384 / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00576, allocations: 4.375 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.005995, allocations: 73.95 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.006545, allocations: 367.4 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.00677, allocations: 82.97 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.006904, allocations: 40.58 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.006924, allocations: 5.562 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.006964, allocations: 41.38 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006964, allocations: 0 / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004632/0.007428, allocations: 135.2 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.007474, allocations: 51.41 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.007623, allocations: 181.8 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.007643, allocations: 31.42 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.00774, allocations: 142.8 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.007783, allocations: 31.73 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.007832, allocations: 23.38 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.008089, allocations: 0.5 MB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.008194, allocations: 29.02 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.008287, allocations: 25.55 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.008488, allocations: 68.12 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00849, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.008788, allocations: 110.8 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008801, allocations: 4 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.008805, allocations: 0.5312 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.00882, allocations: 0.75 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.008936, allocations: 15.98 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008941, allocations: 0.9375 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.008996, allocations: 11.95 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.009002, allocations: 0.5312 kB / 0.8155 GB, free: 13.14 MB / 0.7761 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.0001249/0.009127, allocations: 173.8 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.009158, allocations: 7.984 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.009189, allocations: 8.438 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009191, allocations: 4 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.009195, allocations: 1.281 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.009198, allocations: 0 / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.009409, allocations: 160.5 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00941, allocations: 0.625 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.009504, allocations: 23.92 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009506, allocations: 0.75 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.009515, allocations: 0.875 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009516, allocations: 0 / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009517, allocations: 4 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.009883, allocations: 256.7 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.009891, allocations: 1.344 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.009909, allocations: 4 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.009987, allocations: 4 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.01004, allocations: 8.609 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01005, allocations: 4 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001083/0.01016, allocations: 139.7 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01016, allocations: 1.875 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002443/0.0104, allocations: 19.95 kB / 0.8163 GB, free: 12.27 MB / 0.7761 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.0001327/0.01053, allocations: 99.25 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.01085, allocations: 84.44 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01085, allocations: 3.469 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.01099, allocations: 51.59 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.01134, allocations: 18 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.01187, allocations: 198.5 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.835e-05/0.01197, allocations: 88.11 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.01201, allocations: 6 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.01206, allocations: 12.5 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01206, allocations: 0.6562 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.004211/0.01627, allocations: 1.014 MB / 0.8178 GB, free: 10.74 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] 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: 8.215137229068205]