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.001729/0.001729, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001594/0.001594, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.039 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 3.126/3.126, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002005/0.002005, allocations: 66.47 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002443/0.3576, allocations: 1.013 MB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3589, allocations: 0.921 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.359, allocations: 4 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.359, allocations: 19.8 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3591, allocations: 15.8 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.3593, allocations: 59.88 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3595, allocations: 168.2 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.3597, allocations: 76.77 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3598, allocations: 67.78 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3599, allocations: 79.61 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.3599, allocations: 20 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.36, allocations: 19.94 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.36, allocations: 35.92 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.3601, allocations: 79.59 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3604, allocations: 224.1 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3604, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3604, allocations: 3.938 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3604, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 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.000705/0.3611, allocations: 399.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.3611, allocations: 8.031 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3612, allocations: 16.84 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3613, allocations: 158.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3614, allocations: 12.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3614, allocations: 16.38 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.3618, allocations: 180.8 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3618, allocations: 192 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3618, allocations: 19.94 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3618, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.3624, allocations: 176.1 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.363, allocations: 479.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.3634, allocations: 146.4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.3636, allocations: 92.78 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3636, allocations: 0 / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3637, allocations: 30.56 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 8.31e-07/0.3637, allocations: 0 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007934/0.3645, allocations: 253.6 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3645, allocations: 55.41 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3646, allocations: 136.4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3646, allocations: 25.7 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.3647, allocations: 128.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3648, allocations: 47.59 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3648, allocations: 29.72 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.365, allocations: 334.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3652, allocations: 63.94 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3655, allocations: 98.44 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.3659, allocations: 162.7 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3659, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005485/0.3665, allocations: 193.5 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3665, allocations: 4 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3665, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3665, allocations: 64 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3667, allocations: 43.95 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3667, allocations: 3.938 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3668, allocations: 23.94 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3669, allocations: 7.984 kB / 1.333 GB, free: 11.2 MB / 1.029 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 0.0001316/0.367, allocations: 138.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.367, allocations: 7.953 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.3671, allocations: 20.78 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3671, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3671, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3671, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.3674, allocations: 220.5 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3674, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3675, allocations: 43.95 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3676, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3676, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.3676, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3676, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.3682, allocations: 291.2 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.3682, allocations: 7.953 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3682, allocations: 8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3683, allocations: 15.97 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.3684, allocations: 15.97 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3684, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.3685, allocations: 102.1 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002538/0.3687, allocations: 31.89 kB / 1.334 GB, free: 10.23 MB / 1.029 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.0001213/0.3688, allocations: 103.2 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.3694, allocations: 162.2 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3694, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.3696, allocations: 88 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.37, allocations: 23.92 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.3706, allocations: 310.2 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.371, allocations: 0.7119 MB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.371, allocations: 15.44 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.371, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of Templates: time 0.003286/0.3743, allocations: 1.626 MB / 1.337 GB, free: 7.152 MB / 1.029 GB " [Timeout remaining time 300] 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: 10.968907332979143]