Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.002048/0.002048, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002062/0.002062, allocations: 212.8 kB / 22.99 MB, free: 4.953 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.251/3.251, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002976/0.002976, allocations: 65.88 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4097, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002625/0.4123, allocations: 1.134 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4137, allocations: 1.003 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.4138, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.689e-05/0.4139, allocations: 31.61 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.414, allocations: 35.66 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.4142, allocations: 95.91 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.4145, allocations: 303.4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.4148, allocations: 142 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.415, allocations: 119.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.4151, allocations: 119.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.4152, allocations: 40 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.4152, allocations: 36 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.4153, allocations: 63.83 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.4154, allocations: 103.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.4159, allocations: 454.1 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4159, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4159, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4159, allocations: 0 / 1.331 GB, free: 13.36 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008637/0.4168, allocations: 487.5 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4168, allocations: 8.031 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.4169, allocations: 28.75 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.4172, allocations: 210.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4172, allocations: 17.03 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.4173, allocations: 24.38 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.4179, allocations: 262.6 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4179, allocations: 4.188 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.4179, allocations: 15.92 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.418, allocations: 8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.4186, allocations: 238.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4197, allocations: 0.5977 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.4203, allocations: 206.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4206, allocations: 108.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4206, allocations: 4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4206, allocations: 34.56 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.4206, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009223/0.4215, allocations: 318.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4216, allocations: 55.41 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4217, allocations: 144.1 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4217, allocations: 25.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4218, allocations: 156.6 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.4219, allocations: 63.44 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.422, allocations: 37.7 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4222, allocations: 334.8 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.4224, allocations: 71.94 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.4227, allocations: 111.3 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.4232, allocations: 195.2 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4232, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006064/0.4238, allocations: 239 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4239, allocations: 7.984 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4239, allocations: 0 / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4239, allocations: 4 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4241, allocations: 43.97 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4241, allocations: 4 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.4243, allocations: 35.8 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.4243, allocations: 7.938 kB / 1.335 GB, free: 9.145 MB / 1.029 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 (21): * Single equations (assignments): 21 * 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.0001413/0.4245, allocations: 146.3 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.4245, allocations: 11.91 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.4246, allocations: 29.11 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4246, allocations: 4 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4246, allocations: 0 / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4246, allocations: 7.922 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.4248, allocations: 213.1 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4248, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.4251, allocations: 59.89 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4251, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4251, allocations: 4 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4251, allocations: 3.984 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4251, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.4258, allocations: 337.1 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.4258, allocations: 15.91 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4258, allocations: 4 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.426, allocations: 19.97 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.4261, allocations: 19.97 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4261, allocations: 0 / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.4262, allocations: 121.2 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4262, allocations: 0 / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002755/0.4264, allocations: 51.78 kB / 1.336 GB, free: 8.059 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 (20): * Single equations (assignments): 20 * 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.0001304/0.4266, allocations: 107.2 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.4272, allocations: 187.8 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4272, allocations: 0 / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4274, allocations: 105.1 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.4278, allocations: 23.98 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.4287, allocations: 443.2 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4288, allocations: 129.6 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.4289, allocations: 27.44 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4289, allocations: 0 / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of Templates: time 0.004623/0.4335, allocations: 2.396 MB / 1.339 GB, free: 4.613 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.19048058098997]