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.001599/0.001599, allocations: 104.3 kB / 19.7 MB, free: 2.148 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.00177/0.00177, allocations: 214.6 kB / 22.99 MB, free: 4.965 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.192/3.192, allocations: 0.505 GB / 0.8108 GB, free: 23.54 MB / 0.6231 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.002038/0.002038, allocations: 63.33 kB / 1.178 GB, free: 16.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3952, allocations: 180.2 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002358/0.3975, allocations: 0.7778 MB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3988, allocations: 0.8587 MB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.3989, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.3989, allocations: 3.938 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.399, allocations: 19.84 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.428e-05/0.3991, allocations: 27.97 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.3992, allocations: 103.7 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3994, allocations: 32.45 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.3995, allocations: 31.92 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.3996, allocations: 43.77 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.3996, allocations: 8 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.3996, allocations: 12 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.3996, allocations: 23.91 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.3997, allocations: 35.86 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3999, allocations: 115.4 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3999, allocations: 0 / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3999, allocations: 0 / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3999, allocations: 4 kB / 1.356 GB, free: 5.34 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.0006105/0.4005, allocations: 326 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4005, allocations: 8.031 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.4006, allocations: 12.89 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4008, allocations: 138.3 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4008, allocations: 8.312 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4008, allocations: 12.38 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.4011, allocations: 111.8 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.4011, allocations: 192 / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4011, allocations: 3.938 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4011, allocations: 4 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.4015, allocations: 95.91 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.4019, allocations: 292.2 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.4022, allocations: 74.53 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.4024, allocations: 52.81 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4024, allocations: 7.938 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4024, allocations: 30.56 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.4024, allocations: 0 / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005799/0.403, allocations: 173.6 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.403, allocations: 51.41 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.4031, allocations: 113.8 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.4032, allocations: 25.7 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.4032, allocations: 104 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4033, allocations: 19.8 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.4033, allocations: 21.7 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4035, allocations: 322.8 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4036, allocations: 43.89 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4038, allocations: 36.27 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.4041, allocations: 92.78 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4041, allocations: 4 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003455/0.4044, allocations: 125.5 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4044, allocations: 4 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4044, allocations: 384 / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4044, allocations: 0 / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4046, allocations: 23.92 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4046, allocations: 4 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.4047, allocations: 19.86 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4047, allocations: 4 kB / 1.358 GB, free: 2.848 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 0.0001035/0.4048, allocations: 125.8 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4048, allocations: 3.953 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.4048, allocations: 12.38 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4048, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4048, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4048, allocations: 3.938 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.405, allocations: 133.3 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.405, allocations: 0 / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4051, allocations: 19.98 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4051, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4051, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4051, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4051, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.4055, allocations: 239.3 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.4056, allocations: 11.89 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4056, allocations: 3.938 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4057, allocations: 15.97 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.4057, allocations: 4 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4057, allocations: 4 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.4058, allocations: 95.2 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4058, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000219/0.406, allocations: 12 kB / 1.359 GB, free: 2.121 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.0001394/0.4062, allocations: 115.2 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.4065, allocations: 83.86 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4065, allocations: 0 / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.4067, allocations: 47.95 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.407, allocations: 17.02 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.4075, allocations: 211.8 kB / 1.359 GB, free: 1.617 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.4076, allocations: 75.89 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.4076, allocations: 11.44 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4076, allocations: 3.938 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of Templates: time 0.002761/0.4104, allocations: 1.085 MB / 1.361 GB, free: 436 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 -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: 11.02922209299868]