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.PIDGain.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.001611/0.001611, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.0019/0.0019, allocations: 214.5 kB / 23.04 MB, free: 4.867 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.51/3.51, allocations: 0.5097 GB / 0.8156 GB, free: 18.36 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.003267/0.003267, allocations: 60.59 kB / 1.185 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4325, allocations: 181.4 MB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002388/0.4349, allocations: 0.8248 MB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4362, allocations: 0.8744 MB / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.4363, allocations: 7.938 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.4363, allocations: 7.875 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.4364, allocations: 11.86 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.949e-05/0.4365, allocations: 31.97 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.4367, allocations: 119.7 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.4369, allocations: 33.28 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.437, allocations: 51.78 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.4371, allocations: 47.77 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.4371, allocations: 12 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.4371, allocations: 12 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.4372, allocations: 23.92 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.4372, allocations: 39.8 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.4374, allocations: 143.4 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4375, allocations: 4 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4375, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.4375, allocations: 0 / 1.364 GB, free: 13.38 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007776/0.4382, allocations: 364.1 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4383, allocations: 8.031 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.4383, allocations: 12.89 kB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.4386, allocations: 142.4 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4387, allocations: 8.547 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.4387, allocations: 12.38 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.4391, allocations: 131 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4391, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4391, allocations: 8 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4391, allocations: 4 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4396, allocations: 127.8 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.4403, allocations: 320.3 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.4407, allocations: 98.62 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.4409, allocations: 68.78 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4409, allocations: 4 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.441, allocations: 30.56 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.441, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008014/0.4418, allocations: 209.5 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4418, allocations: 55.41 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.442, allocations: 130.1 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.442, allocations: 25.7 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4421, allocations: 112 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4421, allocations: 27.73 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.4422, allocations: 25.72 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4424, allocations: 322.8 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.4426, allocations: 51.94 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4428, allocations: 77.59 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.4432, allocations: 117.6 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4432, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005118/0.4438, allocations: 165.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4438, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4438, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4438, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.444, allocations: 36 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.444, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.4441, allocations: 27.92 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4441, allocations: 7.938 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001147/0.4442, allocations: 121.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4443, allocations: 11.89 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.4443, allocations: 12.72 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4443, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4443, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4443, allocations: 8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.4445, allocations: 141.2 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4445, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4447, allocations: 27.97 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4447, allocations: 192 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4447, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4447, allocations: 7.938 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4447, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.4452, allocations: 255.3 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.4452, allocations: 11.89 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4453, allocations: 7.938 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4454, allocations: 19.91 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.4455, allocations: 11.98 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4455, allocations: 0 / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.4456, allocations: 109.5 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4456, allocations: 0 / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002471/0.4458, allocations: 15.95 kB / 1.368 GB, free: 9.711 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 (8): * Single equations (assignments): 8 * 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.0001518/0.446, allocations: 115.2 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.4465, allocations: 123.9 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4465, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.4467, allocations: 59.94 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4471, allocations: 17.86 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.4477, allocations: 207.3 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.4478, allocations: 84.19 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.4478, allocations: 11.98 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.4479, allocations: 15.44 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4479, allocations: 3.938 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of Templates: time 0.004692/0.4526, allocations: 1.404 MB / 1.37 GB, free: 7.695 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 9.604486210038885]