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.00159/0.00159, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001565/0.001565, allocations: 211.4 kB / 22.25 MB, free: 5.129 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.984 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.388/3.388, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) [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.00227/0.00227, allocations: 66.02 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4251, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002973/0.4281, allocations: 1.255 MB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4296, allocations: 1.007 MB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.4298, allocations: 4 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.908e-05/0.4299, allocations: 23.67 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.4301, allocations: 43.58 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.4303, allocations: 95.92 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.4307, allocations: 299.4 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.4312, allocations: 154 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.4314, allocations: 115.6 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.4317, allocations: 115.4 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.782e-05/0.4317, allocations: 36 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.4318, allocations: 36 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.4319, allocations: 67.83 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4321, allocations: 131.3 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.4328, allocations: 446.5 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4328, allocations: 0 / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.093e-06/0.4328, allocations: 0 / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.4329, allocations: 4 kB / 1.357 GB, free: 4.613 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.001131/0.434, allocations: 493.7 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.434, allocations: 8.031 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.4342, allocations: 58.73 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.4342, allocations: 28.78 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4346, allocations: 202.8 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.4346, allocations: 25.02 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.4347, allocations: 24.38 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.4354, allocations: 258.6 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4354, allocations: 3.938 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.4354, allocations: 15.98 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.4354, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.4361, allocations: 242.5 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.4374, allocations: 0.718 MB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.438, allocations: 208.2 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.4383, allocations: 104.8 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4383, allocations: 4 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4383, allocations: 34.5 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.4383, allocations: 0 / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009768/0.4393, allocations: 327.4 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.4394, allocations: 51.41 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4395, allocations: 143.3 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4396, allocations: 33.7 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4397, allocations: 152.6 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.4398, allocations: 71.38 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.4399, allocations: 33.72 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.44, allocations: 322.8 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.4403, allocations: 83.92 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.4405, allocations: 106.7 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.4411, allocations: 195.4 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4411, allocations: 0 / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005965/0.4417, allocations: 238.5 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4417, allocations: 4 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.4417, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4417, allocations: 4.031 kB / 1.361 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.442, allocations: 63.83 kB / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.442, allocations: 0 / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.4421, allocations: 27.86 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4421, allocations: 15.98 kB / 1.361 GB, free: 184 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.0001498/0.4423, allocations: 137.7 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.4423, allocations: 15.95 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.4424, allocations: 21.17 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4424, allocations: 3.938 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4424, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-05/0.4425, allocations: 7.922 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.4428, allocations: 284.5 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4428, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.4431, allocations: 47.95 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4431, allocations: 4 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4431, allocations: 8 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4431, allocations: 3.938 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.4431, allocations: 3.938 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.4438, allocations: 333 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4438, allocations: 11.91 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4439, allocations: 4 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.444, allocations: 27.91 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.4441, allocations: 15.97 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.4441, allocations: 4 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.122e-05/0.4442, allocations: 109.1 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4442, allocations: 3.938 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003599/0.4446, allocations: 59.78 kB / 1.362 GB, free: 15.03 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.001068/0.4456, allocations: 0.862 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.4462, allocations: 198.7 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4462, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.4465, allocations: 107.9 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4469, allocations: 27.98 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.4502, allocations: 2.107 MB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4508, allocations: 0.7434 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.111e-05/0.4509, allocations: 17.42 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.451, allocations: 67.41 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.451, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.4841, allocations: 3.529 MB / 1.369 GB, free: 7.414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.84, allocations: 5.172 kB / 1.369 GB, free: 7.41 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] 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: 18.85013649216853]