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.001742/0.001742, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002066/0.002066, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.678/1.678, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.239/3.239, allocations: 0.505 GB / 0.8072 GB, free: 2.012 MB / 0.6387 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.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: 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.002081/0.002081, allocations: 71.89 kB / 1.173 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 180.2 MB / 1.349 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002317/1.052, allocations: 1.275 MB / 1.35 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001066/1.053, allocations: 0.9931 MB / 1.351 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/1.053, allocations: 2.625 kB / 1.351 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.542e-05/1.053, allocations: 27.47 kB / 1.351 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/1.053, allocations: 31.05 kB / 1.351 GB, free: 3.633 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/1.053, allocations: 101 kB / 1.351 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/1.053, allocations: 312.9 kB / 1.352 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/1.054, allocations: 146.6 kB / 1.352 GB, free: 3.305 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/1.054, allocations: 116.2 kB / 1.352 GB, free: 3.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.054, allocations: 119.9 kB / 1.352 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/1.054, allocations: 35.19 kB / 1.352 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/1.054, allocations: 35.97 kB / 1.352 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/1.054, allocations: 64.53 kB / 1.352 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/1.054, allocations: 130.6 kB / 1.352 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/1.055, allocations: 450.9 kB / 1.353 GB, free: 2.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.055, allocations: 1.469 kB / 1.353 GB, free: 2.867 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.395e-06/1.055, allocations: 0 / 1.353 GB, free: 2.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.055, allocations: 0 / 1.353 GB, free: 2.867 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007658/1.055, allocations: 0.5459 MB / 1.353 GB, free: 2.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.055, allocations: 14.19 kB / 1.353 GB, free: 2.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/1.055, allocations: 26.25 kB / 1.353 GB, free: 2.379 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/1.056, allocations: 262.6 kB / 1.353 GB, free: 2.129 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/1.056, allocations: 18.41 kB / 1.353 GB, free: 2.117 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/1.056, allocations: 25.25 kB / 1.353 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/1.056, allocations: 259.8 kB / 1.354 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.056, allocations: 5.031 kB / 1.354 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/1.056, allocations: 22.48 kB / 1.354 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.056, allocations: 5.438 kB / 1.354 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/1.057, allocations: 231.2 kB / 1.354 GB, free: 1.918 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/1.058, allocations: 0.751 MB / 1.355 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/1.059, allocations: 215.8 kB / 1.355 GB, free: 1.316 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/1.059, allocations: 107.6 kB / 1.355 GB, free: 1.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/1.059, allocations: 5.406 kB / 1.355 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/1.059, allocations: 36.72 kB / 1.355 GB, free: 1.234 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.572e-06/1.059, allocations: 5.469 kB / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009464/1.06, allocations: 313.1 kB / 1.355 GB, free: 1.121 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/1.06, allocations: 53.34 kB / 1.355 GB, free: 1.059 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.06, allocations: 147.7 kB / 1.356 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/1.06, allocations: 27.44 kB / 1.356 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/1.06, allocations: 154.6 kB / 1.356 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/1.06, allocations: 72.36 kB / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/1.06, allocations: 38.55 kB / 1.356 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/1.06, allocations: 334.7 kB / 1.356 GB, free: 368 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/1.061, allocations: 80.61 kB / 1.356 GB, free: 348 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/1.061, allocations: 105.2 kB / 1.356 GB, free: 308 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/1.061, allocations: 190.4 kB / 1.357 GB, free: 236 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.061, allocations: 1.312 kB / 1.357 GB, free: 236 kB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006069/1.062, allocations: 237.3 kB / 1.357 GB, free: 140 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.062, allocations: 10.28 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.062, allocations: 0.7969 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.062, allocations: 1.438 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/1.062, allocations: 53.39 kB / 1.357 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/1.062, allocations: 6.375 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.062, allocations: 30.64 kB / 1.357 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/1.062, allocations: 3.938 kB / 1.357 GB, free: 116 kB / 1.045 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.0001196/1.063, allocations: 147.7 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/1.063, allocations: 10.52 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/1.063, allocations: 21.12 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.063, allocations: 2.125 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.063, allocations: 4.547 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.063, allocations: 6.188 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/1.063, allocations: 308.8 kB / 1.357 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.063, allocations: 0 / 1.357 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/1.063, allocations: 52.25 kB / 1.357 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.063, allocations: 1.281 kB / 1.357 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.063, allocations: 5.375 kB / 1.357 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/1.063, allocations: 5.703 kB / 1.357 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.063, allocations: 3.938 kB / 1.357 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/1.064, allocations: 338.9 kB / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/1.064, allocations: 94.98 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.064, allocations: 1.75 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.064, allocations: 20.41 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.064, allocations: 20.22 kB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.064, allocations: 4.594 kB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.863e-05/1.064, allocations: 117.5 kB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.064, allocations: 0 / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002745/1.065, allocations: 47.47 kB / 1.358 GB, free: 15.25 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 (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.000132/1.065, allocations: 106.9 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006561/1.066, allocations: 191.7 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.066, allocations: 1.281 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.066, allocations: 108.1 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/1.066, allocations: 33 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/1.067, allocations: 437.2 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.067, allocations: 0.7427 MB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/1.068, allocations: 17.62 kB / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/1.068, allocations: 0 / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of Templates: time 0.004728/1.072, allocations: 2.312 MB / 1.362 GB, free: 13.81 MB / 1.061 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.35214293799072]