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.001567/0.001567, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002032/0.002032, allocations: 213.1 kB / 22.24 MB, free: 5.258 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.812 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.367/3.367, allocations: 0.505 GB / 0.8101 GB, free: 23.59 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.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.002038/0.002038, allocations: 67.19 kB / 1.177 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4088, allocations: 180.2 MB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002912/0.4117, allocations: 1.206 MB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4134, allocations: 1.027 MB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4135, allocations: 4 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.666e-05/0.4136, allocations: 35.59 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.4137, allocations: 35.59 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4139, allocations: 119.9 kB / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.4143, allocations: 348.4 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.4147, allocations: 178.4 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.4148, allocations: 127.6 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.415, allocations: 147.3 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.4151, allocations: 44 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.4151, allocations: 47.94 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.4152, allocations: 79.78 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4153, allocations: 119.5 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.4159, allocations: 0.5409 MB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4159, allocations: 4 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4159, allocations: 3.938 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.4159, allocations: 0 / 1.357 GB, free: 3.938 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.0009592/0.4169, allocations: 0.5074 MB / 1.357 GB, free: 3.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4169, allocations: 12.03 kB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.417, allocations: 66.72 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.417, allocations: 32.75 kB / 1.357 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4174, allocations: 212.2 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.4174, allocations: 21.03 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.4175, allocations: 36.38 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.4181, allocations: 314.6 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4181, allocations: 3.938 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.4182, allocations: 12 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4182, allocations: 8 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.4189, allocations: 290.4 kB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4202, allocations: 0.738 MB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.4209, allocations: 256.2 kB / 1.359 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.4212, allocations: 133.2 kB / 1.359 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.4212, allocations: 0 / 1.359 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.4213, allocations: 46.44 kB / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.4213, allocations: 4 kB / 1.359 GB, free: 1.145 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.000984/0.4223, allocations: 358 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.4223, allocations: 59.33 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4225, allocations: 141.8 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.4225, allocations: 29.7 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.4226, allocations: 168.5 kB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.4227, allocations: 91.2 kB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4228, allocations: 37.95 kB / 1.36 GB, free: 236 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.4231, allocations: 330.8 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.4234, allocations: 92.41 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.4237, allocations: 136.5 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.4244, allocations: 226.6 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4244, allocations: 0 / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007485/0.4251, allocations: 285.3 kB / 1.361 GB, free: 15.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4251, allocations: 8 kB / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4251, allocations: 0 / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4252, allocations: 4 kB / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4255, allocations: 67.89 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4255, allocations: 7.938 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4256, allocations: 31.86 kB / 1.361 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.4257, allocations: 8 kB / 1.361 GB, free: 15.03 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.0001886/0.4259, allocations: 153.7 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.4259, allocations: 15.91 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.426, allocations: 21.28 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.426, allocations: 7.938 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.426, allocations: 4 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.426, allocations: 3.984 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.4264, allocations: 284.5 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4264, allocations: 0 / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.4267, allocations: 63.89 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4267, allocations: 0 / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.4267, allocations: 8 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4267, allocations: 3.938 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4267, allocations: 0 / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.4274, allocations: 379.3 kB / 1.362 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.4275, allocations: 15.91 kB / 1.362 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.4275, allocations: 0 / 1.362 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4277, allocations: 27.91 kB / 1.362 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.4277, allocations: 15.97 kB / 1.362 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4278, allocations: 16 kB / 1.362 GB, free: 13.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.698e-05/0.4278, allocations: 112.7 kB / 1.362 GB, free: 13.85 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4278, allocations: 0 / 1.362 GB, free: 13.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002989/0.4281, allocations: 59.73 kB / 1.363 GB, free: 13.79 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.001038/0.4292, allocations: 0.9036 MB / 1.363 GB, free: 12.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000656/0.4298, allocations: 227.7 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4298, allocations: 0 / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4302, allocations: 128.8 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.4306, allocations: 27.92 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.4343, allocations: 2.279 MB / 1.366 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.4345, allocations: 145.7 kB / 1.366 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000107/0.4346, allocations: 17.48 kB / 1.366 GB, free: 9.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.4347, allocations: 71.42 kB / 1.366 GB, free: 9.859 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.4347, allocations: 3.938 kB / 1.366 GB, free: 9.855 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4674, allocations: 4.225 MB / 1.37 GB, free: 5.812 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.7, allocations: 7.5 kB / 1.37 GB, free: 5.809 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] 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: 18.831400595983723]