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.0008757/0.0008757, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001034/0.001034, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8921/0.8921, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.75/1.75, allocations: 389 MB / 0.633 GB, free: 12.68 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.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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/2.075e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.00143/0.00145, allocations: 0.7635 MB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.00225, allocations: 0.8595 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.002299, allocations: 4 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002329, allocations: 7.875 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.002405, allocations: 19.84 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.841e-05/0.002474, allocations: 27.97 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.002567, allocations: 95.77 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.002685, allocations: 24.45 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.002775, allocations: 59.88 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.002822, allocations: 23.91 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.002847, allocations: 12 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.002856, allocations: 11.94 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.002885, allocations: 31.91 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.00291, allocations: 19.98 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003029, allocations: 123.5 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003031, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003032, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003035, allocations: 0 / 1.002 GB, free: 11.36 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003829/0.003418, allocations: 314.1 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.003458, allocations: 8.75 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.003491, allocations: 46.73 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.003514, allocations: 16.83 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.003651, allocations: 129.7 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003662, allocations: 8.312 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003672, allocations: 8.375 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.003867, allocations: 110.1 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003873, allocations: 192 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.003885, allocations: 4.375 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003891, allocations: 8.125 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.004081, allocations: 97.94 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.004409, allocations: 315.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.004555, allocations: 78.53 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.004645, allocations: 56.81 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.004654, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.004671, allocations: 42.5 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.004672, allocations: 0 / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003213/0.004993, allocations: 153.5 kB / 1.003 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.005023, allocations: 59.41 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.005086, allocations: 117.8 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005095, allocations: 26.08 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.005136, allocations: 104.1 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.005159, allocations: 27.78 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.005187, allocations: 17.72 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.005259, allocations: 326.7 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.005334, allocations: 39.91 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.005406, allocations: 43.95 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.005553, allocations: 89.23 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005554, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/0.005734, allocations: 125.6 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005746, allocations: 4 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00575, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005761, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.005847, allocations: 27.91 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005852, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.005891, allocations: 19.92 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.005897, allocations: 0 / 1.004 GB, free: 8.785 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 (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.582e-05/0.005992, allocations: 113.8 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.006008, allocations: 11.95 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.006027, allocations: 12.42 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00603, allocations: 4 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.006034, allocations: 0 / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006036, allocations: 0 / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.006158, allocations: 164.7 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006159, allocations: 0 / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.006209, allocations: 15.98 kB / 1.004 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.00621, allocations: 4 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.006218, allocations: 3.984 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006219, allocations: 4 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.006219, allocations: 0 / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.006419, allocations: 227.3 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.006425, allocations: 0 / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.006436, allocations: 4 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.006488, allocations: 11.97 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.006529, allocations: 11.98 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006532, allocations: 7.938 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.006562, allocations: 91.22 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006562, allocations: 288 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001507/0.006713, allocations: 19.89 kB / 1.005 GB, free: 8.023 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 (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.000362/0.007075, allocations: 0.7553 MB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.00727, allocations: 99.84 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007271, allocations: 0 / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.00735, allocations: 47.91 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.007584, allocations: 15.98 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.008763, allocations: 1.505 MB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.008813, allocations: 75.89 kB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.008847, allocations: 7.984 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.008893, allocations: 20.5 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.008893, allocations: 4 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.02399, allocations: 2.767 MB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/6.527, allocations: 8 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins/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: 10.564429474063218]