Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001863/0.001863, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002285/0.002285, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.653/1.653, allocations: 230.6 MB / 256 MB, free: 7.797 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.49/3.49, allocations: 0.4892 GB / 0.7943 GB, free: 35.76 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002337/0.002337, allocations: 66.81 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4039, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003752/0.4077, allocations: 1.208 MB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.4099, allocations: 1.026 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.4103, allocations: 7.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.4104, allocations: 31.59 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.4107, allocations: 35.66 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.411, allocations: 119.9 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005903/0.4116, allocations: 352.3 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.4121, allocations: 162.4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.4124, allocations: 131.6 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4126, allocations: 115.4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.4127, allocations: 44 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.4127, allocations: 44 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4129, allocations: 83.77 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.413, allocations: 119.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.4137, allocations: 0.5448 MB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4137, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4137, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.4137, allocations: 0 / 1.329 GB, free: 13.84 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00128/0.415, allocations: 0.5017 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.4151, allocations: 12.03 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.4152, allocations: 36.69 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.4156, allocations: 218.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4156, allocations: 21.03 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.4157, allocations: 32.38 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.4164, allocations: 314.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4165, allocations: 192 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4165, allocations: 15.94 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4165, allocations: 8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.4173, allocations: 286.4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4187, allocations: 0.6994 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/0.4195, allocations: 253.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.4198, allocations: 137.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4198, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.4199, allocations: 38.5 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.4199, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001129/0.421, allocations: 368.1 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4211, allocations: 55.41 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4212, allocations: 139.5 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.4213, allocations: 33.7 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.4214, allocations: 168.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.4215, allocations: 91.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.4216, allocations: 37.95 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4218, allocations: 330.8 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.4221, allocations: 96.41 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4224, allocations: 128.1 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.423, allocations: 233 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.423, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007159/0.4237, allocations: 285.3 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4238, allocations: 8 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.4238, allocations: 4.062 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4238, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4241, allocations: 67.89 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4241, allocations: 4 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.4243, allocations: 35.8 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4243, allocations: 4 kB / 1.334 GB, free: 9.059 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 (27): * Single equations (assignments): 27 * 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.0001839/0.4245, allocations: 147.9 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.4245, allocations: 15.91 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.4246, allocations: 25.22 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4246, allocations: 4 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4246, allocations: 0 / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4246, allocations: 7.922 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.425, allocations: 233.1 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.425, allocations: 4 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.4253, allocations: 55.95 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4253, allocations: 3.938 kB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4253, allocations: 12 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4253, allocations: 0 / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4253, allocations: 0 / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.4261, allocations: 378.3 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.4261, allocations: 15.91 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.4262, allocations: 4 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4263, allocations: 27.97 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.4264, allocations: 15.97 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4264, allocations: 4 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.708e-05/0.4265, allocations: 117.1 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4265, allocations: 0 / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000316/0.4268, allocations: 59.78 kB / 1.335 GB, free: 7.898 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 (25): * Single equations (assignments): 25 * 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.0001485/0.427, allocations: 103.2 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006968/0.4277, allocations: 231.8 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4277, allocations: 0 / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.428, allocations: 119.8 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4284, allocations: 28.11 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4295, allocations: 467.8 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.4297, allocations: 145.7 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.4298, allocations: 17.48 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.4299, allocations: 19.44 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.4299, allocations: 0 / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of Templates: time 0.006266/0.4361, allocations: 2.021 MB / 1.338 GB, free: 4.754 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.907826406881213]