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.001264/0.001264, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001412/0.001412, allocations: 217 kB / 23.04 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.184/3.184, allocations: 0.49 GB / 0.7959 GB, free: 33.48 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.002324/0.002324, allocations: 63.86 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4154, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002183/0.4176, allocations: 0.8275 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4187, allocations: 0.8627 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.4187, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.4188, allocations: 11.86 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.4189, allocations: 15.86 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.14e-05/0.4189, allocations: 23.97 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.4191, allocations: 95.77 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4192, allocations: 36.44 kB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.4193, allocations: 35.86 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.4194, allocations: 35.92 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4194, allocations: 11.94 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.4194, allocations: 16 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.4195, allocations: 23.83 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.4195, allocations: 39.8 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.4197, allocations: 111.8 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4197, allocations: 0 / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4197, allocations: 0 / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4197, allocations: 3.984 kB / 1.329 GB, free: 15.77 MB / 1.029 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.0006131/0.4203, allocations: 326 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4204, allocations: 8.031 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.179e-05/0.4204, allocations: 4.125 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.4204, allocations: 46.73 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.4204, allocations: 8.891 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.4206, allocations: 134.3 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4206, allocations: 8.375 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.4207, allocations: 8.375 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.421, allocations: 117.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.421, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.421, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.421, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.4214, allocations: 95.86 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.4218, allocations: 331.6 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.4221, allocations: 82.52 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.4223, allocations: 44.83 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4223, allocations: 4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4223, allocations: 38.55 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4223, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005965/0.4229, allocations: 157.7 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.423, allocations: 63.28 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.4231, allocations: 121.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4231, allocations: 25.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.4231, allocations: 99.98 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.4232, allocations: 27.78 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.4232, allocations: 17.72 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4234, allocations: 318.8 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4235, allocations: 31.97 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4237, allocations: 48.27 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.424, allocations: 88.92 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.424, allocations: 384 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003916/0.4244, allocations: 129.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4244, allocations: 8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4244, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4244, allocations: 11.86 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4246, allocations: 23.97 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4246, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.4247, allocations: 15.98 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4247, allocations: 4 kB / 1.331 GB, free: 13.17 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 (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.835e-05/0.4248, allocations: 114.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.4248, allocations: 7.953 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.4248, allocations: 8.375 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4248, allocations: 7.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4248, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4249, allocations: 7.984 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.4251, allocations: 160.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4251, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4252, allocations: 31.97 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4252, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.4252, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4252, allocations: 7.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4252, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.4256, allocations: 215.4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.4256, allocations: 15.89 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.4256, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4258, allocations: 19.86 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.4258, allocations: 7.984 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4258, allocations: 4 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.4259, allocations: 95.2 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4259, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.4261, allocations: 12 kB / 1.332 GB, free: 12.4 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 (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.0007592/0.4269, allocations: 0.7514 MB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.4273, allocations: 95.86 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4273, allocations: 0 / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.4274, allocations: 47.95 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4278, allocations: 25.55 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.43, allocations: 1.498 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.4303, allocations: 0.6924 MB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.59e-05/0.4304, allocations: 4 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.4304, allocations: 27.42 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4304, allocations: 0 / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.4539, allocations: 2.197 MB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 6.281 kB / 1.337 GB, free: 7.125 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.930546399962623]