Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000864/0.000864, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00207/0.002934, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001526/0.001526, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00206/0.003587, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.103/1.103, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.205, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.628/2.628, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2605/2.888, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.137e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003186/0.003217, allocations: 1.296 MB / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.005118, allocations: 1.065 MB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.005303, allocations: 4 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.005405, allocations: 31.59 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.005563, allocations: 39.61 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.005762, allocations: 119.9 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.006181, allocations: 352.3 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.006591, allocations: 162.5 kB / 0.8213 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.00694, allocations: 227.5 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.007073, allocations: 87.75 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.007141, allocations: 47.94 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.007184, allocations: 44 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.007247, allocations: 59.88 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.007352, allocations: 83.81 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.00774, allocations: 215.2 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.383e-05/0.007763, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.004e-06/0.007765, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.00779, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8073 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.0008687/0.008659, allocations: 0.5078 MB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.008709, allocations: 12.62 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.008787, allocations: 44.91 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.009065, allocations: 193.2 kB / 0.8227 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.009095, allocations: 21.03 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.009129, allocations: 28.38 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.009548, allocations: 215.3 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.009563, allocations: 192 / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.009583, allocations: 12.31 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.009596, allocations: 8.375 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.009744, allocations: 80.5 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01109, allocations: 0.5437 MB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.0114, allocations: 151.6 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.01146, allocations: 51.08 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.01147, allocations: 4 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.0115, allocations: 38.56 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/0.0115, allocations: 4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0001982/0.0117, allocations: 140.1 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.01173, allocations: 55.41 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.01181, allocations: 146.1 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01182, allocations: 33.7 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.01189, allocations: 164.5 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.01194, allocations: 83.22 kB / 0.8244 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.01199, allocations: 41.92 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.01208, allocations: 326.8 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.01211, allocations: 20.45 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.01216, allocations: 52.19 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.01224, allocations: 105.4 kB / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01224, allocations: 0 / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000133/0.01238, allocations: 117.6 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01239, allocations: 8 kB / 0.8251 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.0124, allocations: 0 / 0.8251 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.01241, allocations: 0 / 0.8251 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01259, allocations: 67.97 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.01259, allocations: 0 / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.01265, allocations: 31.88 kB / 0.8252 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.01266, allocations: 7.938 kB / 0.8252 GB, free: 11.67 MB / 0.8073 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 7.599e-05/0.01273, allocations: 121.7 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.01276, allocations: 19.98 kB / 0.8253 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.01279, allocations: 25.28 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01279, allocations: 0 / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01279, allocations: 0 / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.0128, allocations: 3.984 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.01296, allocations: 173.6 kB / 0.8255 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01296, allocations: 0 / 0.8255 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01308, allocations: 63.91 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.0131, allocations: 11.89 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.0131, allocations: 4 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01311, allocations: 4 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.01311, allocations: 0 / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01311, allocations: 3.938 kB / 0.8256 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.01325, allocations: 218 kB / 0.8258 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.01327, allocations: 8 kB / 0.8258 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.01332, allocations: 11.98 kB / 0.8258 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.01337, allocations: 27.95 kB / 0.8258 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.01337, allocations: 0 / 0.8258 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.01339, allocations: 32.78 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01339, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001477/0.01354, allocations: 59.78 kB / 0.8259 GB, free: 10.86 MB / 0.8073 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 9.206e-05/0.01363, allocations: 84.36 kB / 0.826 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01375, allocations: 96.7 kB / 0.8261 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.01376, allocations: 3.984 kB / 0.8261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.01382, allocations: 68.05 kB / 0.8262 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.01401, allocations: 35.92 kB / 0.8262 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.01471, allocations: 485.3 kB / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.01475, allocations: 79.98 kB / 0.8267 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.283e-05/0.01482, allocations: 17.48 kB / 0.8268 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.0149, allocations: 79.36 kB / 0.8268 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.0149, allocations: 0 / 0.8268 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of Templates: time 0.003668/0.01857, allocations: 1.883 MB / 0.8287 GB, free: 8.047 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.637591885402799]