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.PIDDerivativeTime.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.002006/0.002006, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002249/0.002249, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.343/3.343, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",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.002052/0.002052, allocations: 64.25 kB / 1.172 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 180.2 MB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002118/0.3713, allocations: 0.82 MB / 1.349 GB, free: 9.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3725, allocations: 0.8588 MB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.3725, allocations: 0 / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.3726, allocations: 11.86 kB / 1.349 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.3727, allocations: 11.88 kB / 1.349 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.176e-05/0.3727, allocations: 23.97 kB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3729, allocations: 95.77 kB / 1.35 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.373, allocations: 36.44 kB / 1.35 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3731, allocations: 39.91 kB / 1.35 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.3732, allocations: 43.78 kB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3732, allocations: 11.94 kB / 1.35 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.3732, allocations: 12 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3732, allocations: 15.92 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.3733, allocations: 39.8 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3735, allocations: 123.5 kB / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3735, allocations: 0 / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3735, allocations: 0 / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3735, allocations: 0 / 1.35 GB, free: 8.016 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006424/0.3741, allocations: 399.1 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3742, allocations: 15.98 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.3742, allocations: 38.73 kB / 1.35 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3743, allocations: 12.89 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3745, allocations: 192.2 kB / 1.351 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3745, allocations: 4.375 kB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3745, allocations: 12.36 kB / 1.351 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3748, allocations: 106.1 kB / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3748, allocations: 3.938 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3749, allocations: 8 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3749, allocations: 0 / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3752, allocations: 91.91 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3757, allocations: 364.5 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.376, allocations: 90.42 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3762, allocations: 52.83 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3762, allocations: 7.984 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3763, allocations: 30.56 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3763, allocations: 0 / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006331/0.3769, allocations: 157.8 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3769, allocations: 63.33 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3771, allocations: 114.1 kB / 1.352 GB, free: 6.086 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3771, allocations: 29.7 kB / 1.352 GB, free: 6.051 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3771, allocations: 96.03 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.3772, allocations: 27.88 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.3772, allocations: 25.59 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3774, allocations: 318.8 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3775, allocations: 39.97 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3777, allocations: 44.02 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.378, allocations: 92.92 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.378, allocations: 0 / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003793/0.3784, allocations: 121.6 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3784, allocations: 4 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3784, allocations: 0 / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3784, allocations: 3.938 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3786, allocations: 27.91 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3786, allocations: 0 / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.3787, allocations: 15.98 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3787, allocations: 4 kB / 1.352 GB, free: 5.219 MB / 1.045 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 (7): * Single equations (assignments): 7 * 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.4e-05/0.3788, allocations: 113.8 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3788, allocations: 7.953 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.3789, allocations: 12.38 kB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3789, allocations: 3.938 kB / 1.353 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3789, allocations: 7.984 kB / 1.353 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3789, allocations: 0 / 1.353 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3791, allocations: 197.6 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3791, allocations: 0 / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3792, allocations: 15.98 kB / 1.353 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3792, allocations: 4 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3792, allocations: 0 / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3792, allocations: 7.875 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3792, allocations: 0 / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.3797, allocations: 227.4 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.3797, allocations: 81.06 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3798, allocations: 0 / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3799, allocations: 19.92 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3799, allocations: 7.984 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3799, allocations: 0 / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.38, allocations: 99.2 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002362/0.3802, allocations: 19.94 kB / 1.353 GB, free: 4.316 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 (7): * Single equations (assignments): 7 * 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.0007656/0.381, allocations: 0.7607 MB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.3814, allocations: 83.92 kB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3814, allocations: 0 / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3816, allocations: 56.42 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3819, allocations: 23.48 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3841, allocations: 1.488 MB / 1.356 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3844, allocations: 0.6963 MB / 1.356 GB, free: 1.082 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.3844, allocations: 4 kB / 1.356 GB, free: 1.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.3845, allocations: 23.44 kB / 1.356 GB, free: 1.055 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3845, allocations: 4 kB / 1.356 GB, free: 1.051 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.4136, allocations: 2.088 MB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.62, allocations: 9.609 kB / 1.358 GB, free: 15.17 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.764662700006738]