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.PIDIntegralTime.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.0008554/0.0008554, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008734/0.0008734, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8957/0.8957, allocations: 177.1 MB / 202.7 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.726/1.726, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.245e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.00141/0.001433, allocations: 0.8032 MB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.002278, allocations: 0.8705 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.002324, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.002357, allocations: 11.86 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.002431, allocations: 7.875 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.653e-05/0.002497, allocations: 39.95 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.002598, allocations: 111.7 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.002731, allocations: 41.55 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.002828, allocations: 67.88 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.002878, allocations: 39.83 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.002903, allocations: 12 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.002912, allocations: 15.94 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.002934, allocations: 23.91 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.002965, allocations: 31.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.0031, allocations: 143.5 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003102, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003103, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003107, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004076/0.003515, allocations: 342 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.003554, allocations: 12.75 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.003591, allocations: 46.73 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.003614, allocations: 8.891 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.003772, allocations: 149.5 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.003781, allocations: 4.375 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.003792, allocations: 8.375 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.003988, allocations: 122.8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003995, allocations: 192 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004006, allocations: 8.375 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.004012, allocations: 4.125 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.004199, allocations: 115.7 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.004551, allocations: 339.6 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.004792, allocations: 110.6 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.004889, allocations: 64.94 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.004901, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.004917, allocations: 34.56 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.004917, allocations: 0 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000331/0.005248, allocations: 177.5 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.005276, allocations: 55.41 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.005338, allocations: 121.7 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005349, allocations: 29.7 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.005394, allocations: 108 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.00542, allocations: 35.69 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.005453, allocations: 30.02 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.005524, allocations: 310.8 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.005608, allocations: 51.95 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.005684, allocations: 47.89 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.005839, allocations: 100.7 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005841, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001865/0.006028, allocations: 137.5 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.006041, allocations: 4 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006046, allocations: 0 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006059, allocations: 4 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.006132, allocations: 23.97 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.006139, allocations: 3.938 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.00618, allocations: 23.94 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006186, allocations: 4 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.459e-05/0.006251, allocations: 113.8 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.006266, allocations: 7.953 kB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.006286, allocations: 12.44 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.00629, allocations: 4 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.006294, allocations: 0 / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.006302, allocations: 7.922 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.006431, allocations: 164.7 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.006433, allocations: 4 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.006497, allocations: 31.97 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006498, allocations: 0 / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.006506, allocations: 0 / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006507, allocations: 288 / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006508, allocations: 0 / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.006742, allocations: 243.2 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.006751, allocations: 11.89 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006763, allocations: 4 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.006812, allocations: 7.984 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.00686, allocations: 19.91 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.006864, allocations: 4 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.006898, allocations: 95.2 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006898, allocations: 0 / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001526/0.007051, allocations: 12 kB / 1.005 GB, free: 7.672 MB / 0.9636 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 (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 Backend phase and start with SimCode phase: time 0.0004062/0.007457, allocations: 0.7709 MB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.007671, allocations: 99.84 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.007673, allocations: 0 / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.007757, allocations: 59.89 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.008011, allocations: 25.75 kB / 1.006 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.009254, allocations: 1.565 MB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.009312, allocations: 89.42 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.009351, allocations: 8 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.009405, allocations: 28.48 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.009406, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.02385, allocations: 2.887 MB / 1.01 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.49/6.514, allocations: 1.547 kB / 1.01 GB, free: 2.238 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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: 10.53194008115679]