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.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.0016/0.0016, allocations: 105.2 kB / 19.7 MB, free: 2.008 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.002054/0.002054, allocations: 207.6 kB / 22.99 MB, free: 4.41 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.301/3.301, 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_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_latest_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.003332/0.003332, allocations: 67.7 kB / 1.178 GB, free: 16.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3547, allocations: 180.2 MB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002493/0.3572, allocations: 0.9251 MB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3586, allocations: 0.9094 MB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3587, allocations: 0 / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.501e-05/0.3587, allocations: 15.8 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3589, allocations: 15.81 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.359, allocations: 59.94 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3592, allocations: 180.1 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.3594, allocations: 72.78 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3596, allocations: 67.77 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3597, allocations: 75.69 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.3597, allocations: 20 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.3597, allocations: 16 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.3598, allocations: 47.77 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.3599, allocations: 59.73 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3601, allocations: 223.1 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3601, allocations: 7.938 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3601, allocations: 0 / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3601, allocations: 0 / 1.357 GB, free: 4.762 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007769/0.3609, allocations: 394 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.361, allocations: 12.03 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.361, allocations: 20.8 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3612, allocations: 158.5 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3613, allocations: 16.7 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.3613, allocations: 12.38 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.3618, allocations: 188.7 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3618, allocations: 192 / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3618, allocations: 11.94 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3618, allocations: 4 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.3624, allocations: 172.1 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.363, allocations: 411.9 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3634, allocations: 138.4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.3637, allocations: 84.8 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3637, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3637, allocations: 30.56 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3637, allocations: 4 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008195/0.3645, allocations: 249.7 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3646, allocations: 55.41 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3647, allocations: 130.1 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3647, allocations: 29.7 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3648, allocations: 136.2 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3649, allocations: 43.64 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.3649, allocations: 37.66 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3651, allocations: 322.8 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3653, allocations: 63.94 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3656, allocations: 100.1 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.3661, allocations: 164.3 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3661, allocations: 0 / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005452/0.3666, allocations: 201.5 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3666, allocations: 7.938 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3666, allocations: 0 / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3666, allocations: 4 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3669, allocations: 39.95 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3669, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.367, allocations: 31.98 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.367, allocations: 4 kB / 1.36 GB, free: 1.359 MB / 1.045 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.0001205/0.3671, allocations: 133.7 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3672, allocations: 7.953 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3672, allocations: 12.78 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3672, allocations: 4 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3672, allocations: 0 / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3672, allocations: 0 / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.3674, allocations: 169.1 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3674, allocations: 3.984 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3676, allocations: 47.91 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3676, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3676, allocations: 4 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3676, allocations: 0 / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3677, allocations: 0 / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.3682, allocations: 292.6 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.3682, allocations: 11.94 kB / 1.36 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.3682, allocations: 3.984 kB / 1.36 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3684, allocations: 19.98 kB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.3684, allocations: 11.97 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3685, allocations: 4 kB / 1.361 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.3685, allocations: 95.27 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 3.938 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002525/0.3688, allocations: 35.89 kB / 1.361 GB, free: 472 kB / 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 (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.000124/0.3689, allocations: 107.2 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.3694, allocations: 157.8 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3694, allocations: 0 / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.3697, allocations: 88 kB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.37, allocations: 19.92 kB / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.3707, allocations: 312.5 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3708, allocations: 98.8 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.3709, allocations: 19.44 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3709, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of Templates: time 0.003259/0.3742, allocations: 1.674 MB / 1.363 GB, free: 13.96 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.313364836998517]