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.PIDGain.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.001806/0.001806, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002551/0.002551, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.348/3.348, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",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.002082/0.002082, allocations: 65.48 kB / 1.171 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4253, allocations: 179 MB / 1.345 GB, free: 24 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002535/0.4279, allocations: 0.8218 MB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4292, allocations: 0.8705 MB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.4292, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.4293, allocations: 11.86 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.4294, allocations: 15.81 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.358e-05/0.4295, allocations: 39.95 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.4296, allocations: 123.7 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4298, allocations: 33.3 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.4299, allocations: 43.84 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.43, allocations: 51.77 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.43, allocations: 12 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.43, allocations: 12 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.4301, allocations: 19.92 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.4301, allocations: 43.8 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.4303, allocations: 143.6 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4303, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4303, allocations: 4 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4303, allocations: 0 / 1.347 GB, free: 13.77 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006935/0.431, allocations: 354 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4311, allocations: 12.03 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.335e-05/0.4311, allocations: 384 / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.4311, allocations: 42.73 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.4312, allocations: 8.891 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.4314, allocations: 161.4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.4314, allocations: 12.5 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.4314, allocations: 15.94 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4318, allocations: 122.5 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4318, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4318, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4319, allocations: 4 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.4323, allocations: 139.7 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.4329, allocations: 335.8 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.4333, allocations: 106.6 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4335, allocations: 60.8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4336, allocations: 4 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4336, allocations: 30.56 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4336, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007878/0.4344, allocations: 213.6 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4344, allocations: 55.34 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4345, allocations: 126.1 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4346, allocations: 33.64 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.4346, allocations: 108 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.4347, allocations: 35.73 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.4347, allocations: 21.72 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4349, allocations: 318.8 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4351, allocations: 51.95 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4353, allocations: 65.66 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.4357, allocations: 133.8 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4357, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004805/0.4362, allocations: 161.5 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4362, allocations: 10.03 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4362, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4362, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4364, allocations: 39.89 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4364, allocations: 0 / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4365, allocations: 24.02 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4366, allocations: 4 kB / 1.35 GB, free: 10.81 MB / 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 (9): * Single equations (assignments): 9 * 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.000104/0.4367, allocations: 121.8 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.4367, allocations: 11.91 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.4367, allocations: 12.72 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4367, allocations: 4.125 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4367, allocations: 0 / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4367, allocations: 7.875 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.437, allocations: 164.7 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.437, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4371, allocations: 31.97 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4371, allocations: 0 / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4371, allocations: 4 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4372, allocations: 3.938 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4372, allocations: 4 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.4377, allocations: 251.4 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.4377, allocations: 15.89 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4377, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4379, allocations: 27.91 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.438, allocations: 11.92 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.438, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.553e-05/0.438, allocations: 103.2 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.438, allocations: 0 / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002421/0.4383, allocations: 20 kB / 1.351 GB, free: 9.961 MB / 1.045 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 (8): * Single equations (assignments): 8 * 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.0008453/0.4391, allocations: 0.7826 MB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.4396, allocations: 127.8 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4396, allocations: 0 / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4398, allocations: 55.95 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.4402, allocations: 31.86 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.4428, allocations: 1.652 MB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.4429, allocations: 80.2 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.227e-05/0.443, allocations: 15.92 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.443, allocations: 31.42 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.443, allocations: 0 / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.4689, allocations: 2.705 MB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.89, allocations: 23.55 kB / 1.356 GB, free: 4.539 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.874783121980727]