Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001898/0.001898, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002415/0.002415, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.785 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.329/3.329, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.003159/0.003159, allocations: 74.83 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4438, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.003337/0.4471, allocations: 0.9367 MB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.4485, allocations: 0.9026 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.4487, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.726e-05/0.4487, allocations: 15.8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.4489, allocations: 19.73 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.449, allocations: 63.94 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.4493, allocations: 168.2 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.4495, allocations: 73.05 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4496, allocations: 71.7 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4497, allocations: 59.69 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.4498, allocations: 20 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.622e-05/0.4498, allocations: 20 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.4499, allocations: 39.84 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.4499, allocations: 55.73 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.4502, allocations: 227 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4502, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4502, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4502, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008555/0.4511, allocations: 402 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4512, allocations: 8.031 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.733e-05/0.4512, allocations: 50.73 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.4513, allocations: 16.84 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.4515, allocations: 158.6 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4515, allocations: 12.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4516, allocations: 16.38 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.4521, allocations: 180.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4521, allocations: 3.938 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.4521, allocations: 8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4521, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.4527, allocations: 180.1 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.4535, allocations: 439.3 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.4539, allocations: 142.4 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.4542, allocations: 80.8 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4542, allocations: 0 / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.4543, allocations: 42.5 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.4543, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009341/0.4552, allocations: 261.6 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4553, allocations: 51.41 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4555, allocations: 126.1 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4555, allocations: 37.64 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4556, allocations: 132.2 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.4556, allocations: 39.64 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.4557, allocations: 29.72 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4559, allocations: 330.8 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.4562, allocations: 63.94 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.4564, allocations: 96.69 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.4569, allocations: 160.8 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.457, allocations: 4 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005909/0.4575, allocations: 197.5 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4576, allocations: 4 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4576, allocations: 7.984 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4576, allocations: 0 / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4578, allocations: 39.95 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4578, allocations: 8.062 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.458, allocations: 19.94 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.458, allocations: 4 kB / 1.369 GB, free: 7.93 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 (15): * Single equations (assignments): 15 * 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.000148/0.4581, allocations: 133.7 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.4582, allocations: 7.953 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.4582, allocations: 16.78 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4582, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4582, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4582, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.4586, allocations: 212.5 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4586, allocations: 0 / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.4588, allocations: 43.95 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4588, allocations: 0 / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4588, allocations: 4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.4588, allocations: 7.938 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4588, allocations: 0 / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.4594, allocations: 289.7 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.4595, allocations: 11.91 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4595, allocations: 0 / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4596, allocations: 23.97 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.4597, allocations: 11.97 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.4597, allocations: 8 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.4598, allocations: 99.2 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4598, allocations: 7.938 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002611/0.4601, allocations: 31.89 kB / 1.37 GB, free: 6.965 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 (13): * Single equations (assignments): 13 * 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.001007/0.4611, allocations: 0.8216 MB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006106/0.4617, allocations: 155.8 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4617, allocations: 0 / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.462, allocations: 79.88 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4624, allocations: 22.61 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.4655, allocations: 1.845 MB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4656, allocations: 102.8 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.685e-05/0.4657, allocations: 8.359 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4658, allocations: 51.42 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.4658, allocations: 0 / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.497, allocations: 3.321 MB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.14, allocations: 12.23 kB / 1.376 GB, free: 0.6211 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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: 19.172990245278925]