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.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.001326/0.001326, allocations: 110.5 kB / 16.45 MB, free: 6.453 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.001508/0.001508, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.32/3.32, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.PIDIntegralTime,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002065/0.002065, allocations: 68.39 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3753, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002458/0.3778, allocations: 0.8742 MB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3791, allocations: 0.8783 MB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.3791, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.3792, allocations: 7.875 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3793, allocations: 11.86 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.911e-05/0.3794, allocations: 31.97 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3795, allocations: 111.8 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3797, allocations: 49.31 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3798, allocations: 47.84 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.3799, allocations: 47.77 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3799, allocations: 8 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.3799, allocations: 12 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.38, allocations: 31.86 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.38, allocations: 43.73 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.3802, allocations: 151.6 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3802, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3802, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3802, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 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.0006919/0.3809, allocations: 423 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.381, allocations: 11.98 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.381, allocations: 38.75 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.3811, allocations: 8.891 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3813, allocations: 200.2 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3813, allocations: 8.375 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3814, allocations: 8.375 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.3817, allocations: 124.4 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3817, allocations: 7.922 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3817, allocations: 4 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3818, allocations: 4 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.3821, allocations: 103.9 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.3828, allocations: 408.3 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.3832, allocations: 106.6 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3834, allocations: 72.8 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.3834, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3835, allocations: 30.56 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3835, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0007058/0.3842, allocations: 185.6 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3842, allocations: 51.41 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3843, allocations: 121.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3844, allocations: 25.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.3844, allocations: 111.9 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3845, allocations: 31.7 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3845, allocations: 21.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3847, allocations: 323.2 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3849, allocations: 43.95 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3851, allocations: 47.89 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.3854, allocations: 88.8 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3854, allocations: 4 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000417/0.3859, allocations: 137.5 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3859, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3859, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3859, allocations: 3.938 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3861, allocations: 35.91 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3861, allocations: 4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.3862, allocations: 11.98 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3862, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 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 0.0001126/0.3863, allocations: 120.7 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.3863, allocations: 7.953 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.3864, allocations: 12.31 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3864, allocations: 4 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3864, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3864, allocations: 7.984 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3866, allocations: 209.6 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3866, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3868, allocations: 31.97 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3868, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3868, allocations: 3.938 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3868, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3868, allocations: 288 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.3873, allocations: 239.3 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.3874, allocations: 89 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3874, allocations: 3.938 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3875, allocations: 15.98 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.3876, allocations: 11.92 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3876, allocations: 4 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.3877, allocations: 95.2 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3877, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002447/0.3879, allocations: 19.95 kB / 1.327 GB, free: 13.09 MB / 1.029 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.0008585/0.3888, allocations: 0.7709 MB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.3892, allocations: 107.8 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3892, allocations: 0 / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3894, allocations: 55.95 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3897, allocations: 12.56 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3922, allocations: 1.572 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3926, allocations: 0.6963 MB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.3926, allocations: 8 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.3927, allocations: 33.39 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3927, allocations: 0 / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.4201, allocations: 2.187 MB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.639, allocations: 3.938 kB / 1.332 GB, free: 7.723 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.361289963126183]