Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.001598/0.001598, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.086/3.086, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.002216/0.002216, allocations: 65.77 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 176.1 MB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002139/1.2, allocations: 1.012 MB / 1.322 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001115/1.201, allocations: 0.9205 MB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/1.201, allocations: 2.812 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.305e-05/1.201, allocations: 15.14 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/1.201, allocations: 25.55 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/1.201, allocations: 57.52 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000201/1.201, allocations: 157.1 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/1.201, allocations: 80.92 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/1.202, allocations: 68.73 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/1.202, allocations: 80.47 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/1.202, allocations: 18.88 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/1.202, allocations: 19.75 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/1.202, allocations: 33.12 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/1.202, allocations: 76.14 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/1.202, allocations: 230.2 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.202, allocations: 4 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/1.202, allocations: 0 / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.202, allocations: 0 / 1.324 GB, free: 22.9 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.0007488/1.203, allocations: 472.4 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.203, allocations: 13.95 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.302e-05/1.203, allocations: 9.234 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/1.203, allocations: 54.23 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/1.203, allocations: 20.48 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.203, allocations: 209.3 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.203, allocations: 10.77 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/1.203, allocations: 13.03 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/1.204, allocations: 188.9 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.204, allocations: 4 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/1.204, allocations: 14.84 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.204, allocations: 2.938 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/1.204, allocations: 170.4 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/1.205, allocations: 0.5051 MB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/1.205, allocations: 131.6 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/1.205, allocations: 93.05 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/1.206, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/1.206, allocations: 34.5 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/1.206, allocations: 2.781 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008583/1.206, allocations: 257.7 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.206, allocations: 51.41 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/1.207, allocations: 124.4 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.207, allocations: 35.78 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/1.207, allocations: 121.4 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/1.207, allocations: 59.84 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/1.207, allocations: 29.47 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/1.207, allocations: 325.4 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.207, allocations: 65.84 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.207, allocations: 96.83 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/1.208, allocations: 162.8 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.208, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005964/1.208, allocations: 197.4 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.208, allocations: 5.438 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.208, allocations: 1.25 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.208, allocations: 4.625 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/1.209, allocations: 38.62 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.209, allocations: 2.094 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/1.209, allocations: 34.53 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/1.209, allocations: 6.969 kB / 1.328 GB, free: 20.49 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 9.784e-05/1.209, allocations: 133.5 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/1.209, allocations: 12.67 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/1.209, allocations: 14.78 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.209, allocations: 1.156 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.209, allocations: 0.9375 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.209, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/1.209, allocations: 252.1 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.209, allocations: 0 / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/1.209, allocations: 38.78 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.209, allocations: 1.156 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.209, allocations: 0.8438 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.209, allocations: 5.125 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.209, allocations: 0 / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/1.21, allocations: 291.3 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/1.21, allocations: 91.94 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/1.21, allocations: 1.281 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/1.21, allocations: 20.38 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/1.21, allocations: 15.98 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/1.21, allocations: 1.719 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.506e-05/1.21, allocations: 99.52 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.21, allocations: 3.938 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002674/1.211, allocations: 33.02 kB / 1.329 GB, free: 19.71 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.0007811/1.211, allocations: 0.8315 MB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006237/1.212, allocations: 153.3 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.212, allocations: 0 / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/1.212, allocations: 86.08 kB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/1.213, allocations: 16.55 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/1.215, allocations: 1.841 MB / 1.331 GB, free: 17.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/1.216, allocations: 0.7119 MB / 1.332 GB, free: 16.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.324e-05/1.216, allocations: 15.81 kB / 1.332 GB, free: 16.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/1.216, allocations: 44.8 kB / 1.332 GB, free: 16.79 MB / 1.061 GB Notification: Performance of SimCode: time 1.162e-06/1.216, allocations: 0 / 1.332 GB, free: 16.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/1.237, allocations: 2.789 MB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/9.786, allocations: 12.75 kB / 1.335 GB, free: 16.36 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.680000495980494]