Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002338/0.003642, 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.001875/0.001875, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002541/0.004416, 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.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.233, allocations: 53.67 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.454/2.454, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.302/2.756, 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.957e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002162/0.002191, allocations: 1.236 MB / 0.8195 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.003637, allocations: 1.026 MB / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.003732, allocations: 4 kB / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.097e-05/0.003793, allocations: 23.67 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.003907, allocations: 39.59 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.004035, allocations: 99.91 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.004275, allocations: 303.4 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.00452, allocations: 149.8 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.004768, allocations: 187.6 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.004865, allocations: 87.69 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.004906, allocations: 36 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.004931, allocations: 32 kB / 0.8214 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.00497, allocations: 47.88 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.005033, allocations: 71.81 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.005272, allocations: 179.3 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.062e-05/0.005292, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.744e-06/0.005294, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.005312, allocations: 0 / 0.8217 GB, free: 15.43 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006704/0.005982, allocations: 488.1 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.006039, allocations: 12.62 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.006097, allocations: 36.91 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.006287, allocations: 169.4 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006306, allocations: 21.03 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.006329, allocations: 24.38 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.00659, allocations: 191.3 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006601, allocations: 4.172 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.006617, allocations: 12.38 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.00664, allocations: 4.375 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.006738, allocations: 64.44 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.007436, allocations: 480.5 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.007673, allocations: 114.5 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.007723, allocations: 40.78 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.007738, allocations: 4 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.007766, allocations: 46.48 kB / 0.8233 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 3.427e-06/0.00777, allocations: 0 / 0.8233 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001954/0.007965, allocations: 109.4 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.008007, allocations: 59.41 kB / 0.8235 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.008114, allocations: 156.8 kB / 0.8236 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.008127, allocations: 25.7 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.008203, allocations: 152.6 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.008242, allocations: 63.42 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.008291, allocations: 37.69 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.008376, allocations: 322.8 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.008402, allocations: 12 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.008445, allocations: 45.62 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.00852, allocations: 77.55 kB / 0.8243 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.008523, allocations: 4 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001129/0.008636, allocations: 92 kB / 0.8244 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.008653, allocations: 11.98 kB / 0.8244 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.00866, allocations: 0 / 0.8244 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.008669, allocations: 0 / 0.8244 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.00897, allocations: 51.97 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008974, allocations: 0 / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.009024, allocations: 27.83 kB / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.009031, allocations: 4.031 kB / 0.8245 GB, free: 12.36 MB / 0.8073 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 8.601e-05/0.009117, allocations: 121.8 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.009141, allocations: 12 kB / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.00918, allocations: 25.11 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.009185, allocations: 3.984 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.009188, allocations: 0 / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.009192, allocations: 4 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.009372, allocations: 145.7 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009374, allocations: 0 / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.009496, allocations: 59.84 kB / 0.8249 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.00951, allocations: 19.83 kB / 0.8249 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.009512, allocations: 0 / 0.8249 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.009521, allocations: 4 kB / 0.8249 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009524, allocations: 4 kB / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.009526, allocations: 0 / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.009677, allocations: 195.4 kB / 0.8251 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.00969, allocations: 0 / 0.8251 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.009746, allocations: 15.98 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.009788, allocations: 19.91 kB / 0.8251 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.009794, allocations: 11.94 kB / 0.8251 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.009821, allocations: 35.25 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009821, allocations: 0 / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001592/0.00998, allocations: 43.89 kB / 0.8252 GB, free: 11.6 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 (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.0001085/0.01009, allocations: 84.42 kB / 0.8253 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.01022, allocations: 75.12 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.01023, allocations: 4 kB / 0.8254 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.01027, allocations: 52.77 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01049, allocations: 43.98 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.0112, allocations: 428.7 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.298e-05/0.01125, allocations: 79.73 kB / 0.8259 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.012e-05/0.01132, allocations: 21.42 kB / 0.826 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.01141, allocations: 75.36 kB / 0.826 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.382e-06/0.01142, allocations: 0 / 0.826 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.004147/0.01556, allocations: 1.778 MB / 0.8278 GB, free: 8.996 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.580941228196025]