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.PIGain.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.001347/0.001347, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001491/0.001491, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.96/2.96, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002087/0.002087, allocations: 63.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9926/0.9947, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001951/0.9966, allocations: 1.006 MB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008863/0.9975, allocations: 0.9187 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.9976, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.9976, allocations: 15.14 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.9977, allocations: 25.92 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.267e-05/0.9978, allocations: 50.95 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.9979, allocations: 172.9 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.9981, allocations: 74.33 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.9982, allocations: 70 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.9983, allocations: 72.12 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.9983, allocations: 23.44 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.9983, allocations: 23.06 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.9983, allocations: 36.67 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.9984, allocations: 75.83 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.9986, allocations: 220.5 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9986, allocations: 7.031 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9986, allocations: 0 / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.9986, allocations: 4 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006255/0.9992, allocations: 476.6 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.9992, allocations: 12.25 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.9993, allocations: 21.58 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9994, allocations: 203.7 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.9995, allocations: 16.98 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.9995, allocations: 12.72 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.9999, allocations: 185 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9999, allocations: 192 / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.9999, allocations: 10.81 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.9999, allocations: 2.875 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/1, allocations: 181.5 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/1.001, allocations: 0.5088 MB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/1.001, allocations: 136.8 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/1.002, allocations: 85.86 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/1.002, allocations: 2.688 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/1.002, allocations: 34.56 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/1.002, allocations: 0 / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008142/1.002, allocations: 259.9 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/1.002, allocations: 54.88 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/1.003, allocations: 125 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/1.003, allocations: 29.7 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/1.003, allocations: 126.6 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/1.003, allocations: 52.16 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/1.003, allocations: 31.19 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/1.003, allocations: 323.5 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/1.003, allocations: 68.95 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/1.003, allocations: 90.88 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/1.004, allocations: 162.2 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/1.004, allocations: 1 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005966/1.004, allocations: 201.7 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.004, allocations: 5.969 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.004, allocations: 4.375 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.004, allocations: 0.75 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.005, allocations: 39.25 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.005, allocations: 2.281 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/1.005, allocations: 34.08 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/1.005, allocations: 3.375 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.335e-05/1.005, allocations: 135.9 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/1.005, allocations: 8.828 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/1.005, allocations: 14.25 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.005, allocations: 1.594 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.005, allocations: 1 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.005, allocations: 4 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/1.005, allocations: 254.2 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.005, allocations: 1.156 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.005, allocations: 34.8 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.005, allocations: 0.9062 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.005, allocations: 0.9062 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.005, allocations: 4.906 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.005, allocations: 0 / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/1.006, allocations: 291.9 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/1.006, allocations: 83.97 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.006, allocations: 4.391 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/1.006, allocations: 20.39 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/1.006, allocations: 16.02 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.006, allocations: 3.125 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.637e-05/1.006, allocations: 101 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.006, allocations: 1.312 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002671/1.007, allocations: 28.23 kB / 1.329 GB, free: 20.09 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001092/1.007, allocations: 111.1 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005836/1.007, allocations: 162.2 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.007, allocations: 0 / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/1.008, allocations: 74.52 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/1.008, allocations: 22.69 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/1.009, allocations: 325.1 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/1.009, allocations: 0.7148 MB / 1.33 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/1.009, allocations: 14.62 kB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.009, allocations: 0 / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of Templates: time 0.003919/1.013, allocations: 1.629 MB / 1.332 GB, free: 18.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.456096087000333]