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.000928/0.000928, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002024, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007177/0.0007177, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008723/0.00159, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1325/1.169, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.604/2.604, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2769/2.881, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.085e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002239/0.00227, allocations: 0.836 MB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003436, allocations: 0.8936 MB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.003488, allocations: 4 kB / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.003525, allocations: 3.938 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.003602, allocations: 23.78 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.993e-05/0.003682, allocations: 27.97 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.003818, allocations: 91.78 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.003959, allocations: 36.39 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.004091, allocations: 63.88 kB / 0.8202 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.004159, allocations: 27.89 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.004189, allocations: 12 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.004204, allocations: 8 kB / 0.8203 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.00423, allocations: 15.94 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.004269, allocations: 19.94 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.0044, allocations: 59.7 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.246e-05/0.004422, allocations: 0 / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.443e-06/0.004424, allocations: 0 / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.004442, allocations: 0 / 0.8203 GB, free: 0.7812 MB / 0.7917 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.0004699/0.004912, allocations: 300.4 kB / 0.8206 GB, free: 472 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004949, allocations: 12.62 kB / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.004981, allocations: 12.92 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.00512, allocations: 129.6 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.00513, allocations: 8.312 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.005142, allocations: 12.38 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.005282, allocations: 86.81 kB / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005289, allocations: 192 / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.005299, allocations: 4.375 kB / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005304, allocations: 384 / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.005344, allocations: 23.92 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.005655, allocations: 224.1 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.005749, allocations: 50.44 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.005776, allocations: 16.86 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.005785, allocations: 3.938 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.005809, allocations: 34.56 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.00581, allocations: 0 / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001304/0.00594, allocations: 57.83 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.005976, allocations: 59.39 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.006043, allocations: 110.7 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.006056, allocations: 33.7 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.006099, allocations: 96.03 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.006126, allocations: 27.72 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.006159, allocations: 21.72 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.00625, allocations: 322.8 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.006262, allocations: 4 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.006277, allocations: 8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.006311, allocations: 25.3 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.006315, allocations: 7.938 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.06e-05/0.006376, allocations: 53.67 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.00639, allocations: 7.984 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006396, allocations: 4 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.006406, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.0065, allocations: 23.94 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.006504, allocations: 0 / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.00653, allocations: 7.984 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.006534, allocations: 0 / 0.8221 GB, free: 14.87 MB / 0.8073 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 7.254e-05/0.006606, allocations: 121.7 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.006623, allocations: 4 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.006648, allocations: 12.42 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006649, allocations: 4 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006651, allocations: 0 / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.006656, allocations: 4 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.00676, allocations: 81.88 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006761, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.006803, allocations: 19.98 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.006813, allocations: 11.89 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006816, allocations: 4 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.00682, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006821, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.006822, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.92e-05/0.006921, allocations: 163.4 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.006934, allocations: 8 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.006971, allocations: 4 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.00701, allocations: 3.984 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.007013, allocations: 4 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.007028, allocations: 16.84 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007028, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001217/0.00715, allocations: 15.94 kB / 0.8225 GB, free: 14.35 MB / 0.8073 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.494e-05/0.007245, allocations: 90.47 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.00733, allocations: 36.78 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.007337, allocations: 0 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.007365, allocations: 20.84 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.0076, allocations: 20 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.008054, allocations: 200.6 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.00809, allocations: 55.36 kB / 0.8229 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.00812, allocations: 11.92 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.008184, allocations: 59.38 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.008184, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.0027/0.01088, allocations: 1.031 MB / 0.824 GB, free: 12.84 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.530847541987896]