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.001564/0.001564, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001698/0.001698, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.2/3.2, allocations: 0.505 GB / 0.8108 GB, free: 23.54 MB / 0.6231 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.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: 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.001978/0.001978, allocations: 67.16 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 180.2 MB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002573/0.3382, allocations: 1.217 MB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3394, allocations: 1.026 MB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3395, allocations: 4 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.3396, allocations: 31.55 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3398, allocations: 31.66 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.3399, allocations: 119.9 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.3403, allocations: 352.4 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.3406, allocations: 178.4 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.3408, allocations: 131.6 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3409, allocations: 139.4 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.341, allocations: 44 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.341, allocations: 44 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.3411, allocations: 83.77 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3412, allocations: 127.4 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.3417, allocations: 0.5331 MB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3417, allocations: 3.938 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3417, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3417, allocations: 0 / 1.358 GB, free: 3.398 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008968/0.3426, allocations: 0.5056 MB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3426, allocations: 12.03 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.3427, allocations: 28.75 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.343, allocations: 216.4 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.343, allocations: 25.03 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.3431, allocations: 32.38 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.3437, allocations: 318.6 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3437, allocations: 192 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3438, allocations: 15.94 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3438, allocations: 8 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.3445, allocations: 290.4 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3455, allocations: 0.6955 MB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.3461, allocations: 250.7 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.3465, allocations: 125.2 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3465, allocations: 4 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3465, allocations: 38.44 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.3465, allocations: 4 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.0009663/0.3475, allocations: 361.3 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3475, allocations: 55.41 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3477, allocations: 144.7 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3477, allocations: 33.7 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3478, allocations: 168.7 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.3479, allocations: 91.2 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.348, allocations: 45.94 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3481, allocations: 322.8 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.3484, allocations: 92.39 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3487, allocations: 136.5 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.3492, allocations: 235.3 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3492, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006524/0.3499, allocations: 277.3 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3499, allocations: 4 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3499, allocations: 4 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3499, allocations: 0 / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3502, allocations: 71.95 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3502, allocations: 0 / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3504, allocations: 39.61 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3504, allocations: 4 kB / 1.362 GB, free: 14.63 MB / 1.061 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.0001354/0.3505, allocations: 149.8 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.3506, allocations: 11.91 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.3506, allocations: 25.27 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3506, allocations: 4 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3506, allocations: 3.938 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3507, allocations: 4 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3509, allocations: 241.1 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3509, allocations: 0 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.3512, allocations: 59.89 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3512, allocations: 0 / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3512, allocations: 4 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3512, allocations: 4 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3512, allocations: 0 / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.3519, allocations: 375.3 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.3519, allocations: 23.89 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.352, allocations: 0 / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3521, allocations: 19.98 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3522, allocations: 23.89 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3522, allocations: 15.88 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.3523, allocations: 109.2 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3523, allocations: 0 / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002816/0.3526, allocations: 59.73 kB / 1.364 GB, free: 13.46 MB / 1.061 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.0001106/0.3527, allocations: 111.2 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006294/0.3533, allocations: 223.9 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3533, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.3536, allocations: 127.7 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3539, allocations: 31.92 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.3548, allocations: 464 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3549, allocations: 149.6 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.214e-05/0.355, allocations: 21.47 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.3551, allocations: 19.44 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3551, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of Templates: time 0.005193/0.3603, allocations: 2.091 MB / 1.367 GB, free: 10.25 MB / 1.061 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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.563734077994013]