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.001746/0.001746, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001988/0.001988, allocations: 204 kB / 20.09 MB, free: 2.977 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.06 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.157/3.157, allocations: 0.505 GB / 0.8073 GB, free: 2.016 MB / 0.6387 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.001965/0.001965, allocations: 75.88 kB / 1.173 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9461, allocations: 180.2 MB / 1.349 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002815/0.9489, allocations: 0.8721 MB / 1.35 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.9501, allocations: 0.8751 MB / 1.351 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.9502, allocations: 2.75 kB / 1.351 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.9502, allocations: 13.83 kB / 1.351 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.823e-05/0.9503, allocations: 15.59 kB / 1.351 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.543e-05/0.9504, allocations: 29.56 kB / 1.351 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.9506, allocations: 121.7 kB / 1.351 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.9507, allocations: 47.45 kB / 1.351 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.9508, allocations: 46.72 kB / 1.351 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.9509, allocations: 50.25 kB / 1.351 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.9509, allocations: 11.91 kB / 1.351 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.951, allocations: 15.31 kB / 1.351 GB, free: 3.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.951, allocations: 23.33 kB / 1.351 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.951, allocations: 49.48 kB / 1.351 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.9513, allocations: 133.5 kB / 1.351 GB, free: 3.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9513, allocations: 0 / 1.351 GB, free: 3.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9513, allocations: 1.375 kB / 1.351 GB, free: 3.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9513, allocations: 0.7969 kB / 1.351 GB, free: 3.785 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006747/0.952, allocations: 441.5 kB / 1.352 GB, free: 3.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.952, allocations: 9.266 kB / 1.352 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.952, allocations: 10.33 kB / 1.352 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9522, allocations: 207.2 kB / 1.352 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.9522, allocations: 8.531 kB / 1.352 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.9522, allocations: 9.938 kB / 1.352 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.9526, allocations: 127.5 kB / 1.352 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9526, allocations: 0 / 1.352 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.9527, allocations: 5.312 kB / 1.352 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.9527, allocations: 3.391 kB / 1.352 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.9532, allocations: 129.9 kB / 1.352 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.9538, allocations: 400.2 kB / 1.352 GB, free: 2.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.9542, allocations: 102.5 kB / 1.353 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.9544, allocations: 64.92 kB / 1.353 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.9544, allocations: 1.219 kB / 1.353 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.9544, allocations: 35.59 kB / 1.353 GB, free: 2.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.9544, allocations: 0 / 1.353 GB, free: 2.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0008383/0.9553, allocations: 210.2 kB / 1.353 GB, free: 2.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.9553, allocations: 57 kB / 1.353 GB, free: 2.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.9554, allocations: 130.8 kB / 1.353 GB, free: 2.359 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.9554, allocations: 29.7 kB / 1.353 GB, free: 2.324 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.9555, allocations: 109.9 kB / 1.353 GB, free: 2.223 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.9555, allocations: 29.05 kB / 1.353 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.9556, allocations: 20.17 kB / 1.353 GB, free: 2.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.9556, allocations: 320.8 kB / 1.354 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.9559, allocations: 56.39 kB / 1.354 GB, free: 1.852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.9561, allocations: 69.5 kB / 1.354 GB, free: 1.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.9566, allocations: 130 kB / 1.354 GB, free: 1.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9566, allocations: 2.047 kB / 1.354 GB, free: 1.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005345/0.9571, allocations: 164.8 kB / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9571, allocations: 4.531 kB / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.9571, allocations: 2.328 kB / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9572, allocations: 0 / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.9573, allocations: 30.56 kB / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9573, allocations: 1.531 kB / 1.354 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.9575, allocations: 28.61 kB / 1.354 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.9575, allocations: 7.391 kB / 1.354 GB, free: 1.695 MB / 1.045 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 7.163e-05/0.9576, allocations: 117.6 kB / 1.354 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.9576, allocations: 6.891 kB / 1.354 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.9576, allocations: 20.19 kB / 1.354 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.9576, allocations: 1.531 kB / 1.354 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9576, allocations: 0 / 1.354 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9576, allocations: 4.5 kB / 1.354 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.9578, allocations: 215 kB / 1.354 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9578, allocations: 0 / 1.354 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.958, allocations: 33.02 kB / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.958, allocations: 1.125 kB / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.958, allocations: 0 / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.958, allocations: 1.797 kB / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.958, allocations: 0 / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.9586, allocations: 250 kB / 1.355 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.9586, allocations: 92.02 kB / 1.355 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.9586, allocations: 1.797 kB / 1.355 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.9587, allocations: 16.06 kB / 1.355 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.9588, allocations: 16.16 kB / 1.355 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.9588, allocations: 5.156 kB / 1.355 GB, free: 1.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.9589, allocations: 104.9 kB / 1.355 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.9589, allocations: 1.594 kB / 1.355 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002411/0.9591, allocations: 13.31 kB / 1.355 GB, free: 0.9688 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 (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.0001215/0.9592, allocations: 101.8 kB / 1.355 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.9598, allocations: 126.5 kB / 1.355 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9598, allocations: 0 / 1.355 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.9601, allocations: 63.66 kB / 1.355 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.9604, allocations: 20.22 kB / 1.355 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.961, allocations: 247.6 kB / 1.355 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.9612, allocations: 0.6982 MB / 1.356 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.9613, allocations: 12.78 kB / 1.356 GB, free: 15.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9613, allocations: 0 / 1.356 GB, free: 15.93 MB / 1.061 GB Notification: Performance of Templates: time 0.003685/0.965, allocations: 1.299 MB / 1.357 GB, free: 15.82 MB / 1.061 GB " [Timeout remaining time 299] 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 -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: 11.914892644999782]