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.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.001753/0.001753, allocations: 116.1 kB / 17.16 MB, free: 6.004 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.002292/0.002292, allocations: 209.5 kB / 20.13 MB, free: 3.051 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.147/3.147, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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.PIDDerivativeTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",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.00204/0.00204, allocations: 67.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001792/1.131, allocations: 0.8136 MB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/1.132, allocations: 0.8607 MB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/1.132, allocations: 2.469 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/1.132, allocations: 7.875 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/1.132, allocations: 18.19 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.017e-05/1.132, allocations: 29.45 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.133, allocations: 93.89 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/1.133, allocations: 34.02 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/1.133, allocations: 41.27 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/1.133, allocations: 41.95 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/1.133, allocations: 8.094 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/1.133, allocations: 10.62 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/1.133, allocations: 18.02 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/1.133, allocations: 39.95 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/1.133, allocations: 111.7 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.133, allocations: 0 / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.133, allocations: 4 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.133, allocations: 2.469 kB / 1.324 GB, free: 23.37 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005162/1.134, allocations: 402.1 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.134, allocations: 15.3 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.288e-05/1.134, allocations: 4.125 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/1.134, allocations: 44.77 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/1.134, allocations: 14.48 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.134, allocations: 195.2 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.134, allocations: 7.188 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/1.134, allocations: 5.969 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/1.134, allocations: 111 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.134, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.134, allocations: 4 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.134, allocations: 2.594 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/1.135, allocations: 106.7 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/1.135, allocations: 354.7 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/1.135, allocations: 88.39 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/1.135, allocations: 48.69 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.135, allocations: 6.812 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/1.135, allocations: 33.7 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.135, allocations: 0 / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005621/1.136, allocations: 166.6 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/1.136, allocations: 55.34 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/1.136, allocations: 111 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.136, allocations: 29.7 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/1.136, allocations: 100.1 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/1.136, allocations: 30.22 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/1.136, allocations: 16.34 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/1.136, allocations: 316.8 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/1.136, allocations: 38.83 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/1.136, allocations: 46.27 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/1.137, allocations: 87.42 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.137, allocations: 384 / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003336/1.137, allocations: 127.2 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.137, allocations: 5.156 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.137, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.137, allocations: 11.88 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/1.137, allocations: 23.12 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.137, allocations: 0 / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/1.137, allocations: 15.05 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/1.137, allocations: 7.984 kB / 1.326 GB, free: 21.34 MB / 1.061 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 5.537e-05/1.137, allocations: 121.2 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.137, allocations: 6.672 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/1.137, allocations: 12.38 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.137, allocations: 3.938 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.137, allocations: 2.844 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.137, allocations: 3.234 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.138, allocations: 189.6 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.138, allocations: 0 / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/1.138, allocations: 24.86 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.138, allocations: 0 / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.138, allocations: 6.812 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.138, allocations: 3.938 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.138, allocations: 7.938 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/1.138, allocations: 217.8 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/1.138, allocations: 81.06 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.138, allocations: 2.594 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/1.138, allocations: 23.55 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/1.138, allocations: 6.016 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/1.138, allocations: 6.656 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.183e-05/1.138, allocations: 93.73 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 0 / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002324/1.139, allocations: 16.59 kB / 1.327 GB, free: 20.62 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 (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.0005081/1.139, allocations: 0.7561 MB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000361/1.139, allocations: 84.98 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.139, allocations: 4 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.14, allocations: 48.14 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/1.14, allocations: 24.69 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/1.142, allocations: 1.506 MB / 1.329 GB, free: 18.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/1.142, allocations: 0.6956 MB / 1.33 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.337e-05/1.142, allocations: 10.91 kB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/1.142, allocations: 27 kB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.142, allocations: 0 / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/1.161, allocations: 2.113 MB / 1.332 GB, free: 17.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.77, allocations: 13.56 kB / 1.332 GB, free: 17.52 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.57806113298284]