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.001318/0.001318, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00148/0.00148, allocations: 206.2 kB / 23 MB, free: 4.934 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.422/3.422, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002079/0.002079, allocations: 65.44 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4576, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002544/0.4601, allocations: 0.9222 MB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4615, allocations: 0.9133 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4616, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.4617, allocations: 19.73 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.4618, allocations: 19.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.4619, allocations: 55.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.4622, allocations: 168.2 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.4624, allocations: 74.81 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4625, allocations: 79.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4626, allocations: 75.67 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.4627, allocations: 20 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.621e-05/0.4627, allocations: 16 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.4627, allocations: 39.84 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.4628, allocations: 59.73 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.4631, allocations: 227 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4631, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4631, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4631, allocations: 0 / 1.33 GB, free: 14.3 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.0008038/0.4639, allocations: 394 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.464, allocations: 8.031 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.464, allocations: 20.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4643, allocations: 158.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4643, allocations: 8.703 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.4643, allocations: 20.36 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.4648, allocations: 180.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4648, allocations: 4.188 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.4648, allocations: 7.938 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4648, allocations: 7.984 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.4654, allocations: 176.1 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.4661, allocations: 415.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.4665, allocations: 138.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.4667, allocations: 80.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.4667, allocations: 7.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4668, allocations: 34.56 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.4668, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008185/0.4676, allocations: 254.4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4676, allocations: 55.41 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4678, allocations: 128.1 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4678, allocations: 29.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.4679, allocations: 128.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.4679, allocations: 43.59 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.468, allocations: 29.66 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4681, allocations: 326.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.4684, allocations: 71.94 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.4686, allocations: 94.44 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.4691, allocations: 168.2 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4691, allocations: 3.938 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005442/0.4696, allocations: 194.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4696, allocations: 14.19 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4696, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4697, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.4699, allocations: 43.95 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4699, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.47, allocations: 27.92 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.47, allocations: 4 kB / 1.333 GB, free: 10.91 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.000131/0.4702, allocations: 138.2 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4702, allocations: 7.953 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.4702, allocations: 16.78 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4702, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4702, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.4703, allocations: 15.88 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4703, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4704, allocations: 11.98 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.4705, allocations: 19.91 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006548/0.4712, allocations: 292 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00059/0.4717, allocations: 362.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000243/0.472, allocations: 75.94 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.61e-05/0.4721, allocations: 101.1 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of Backend: time 6.71e-07/0.4721, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.4727, allocations: 171.5 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008809/0.4736, allocations: 0.6836 MB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of Templates: time 0.005547/0.4791, allocations: 1.926 MB / 1.337 GB, free: 7.074 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: 9.523152469002525]