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.PIDGain.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.001376/0.001376, allocations: 105.4 kB / 16.45 MB, free: 6.398 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.001595/0.001595, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.263/3.263, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002101/0.002101, allocations: 67.98 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002024/0.3506, allocations: 0.8714 MB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3518, allocations: 0.8743 MB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.3518, allocations: 8 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.3519, allocations: 11.86 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.352, allocations: 11.81 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.596e-05/0.3521, allocations: 39.89 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3522, allocations: 115.7 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3524, allocations: 41.08 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.3525, allocations: 47.84 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.3525, allocations: 51.77 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3526, allocations: 8 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.3526, allocations: 16 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.3526, allocations: 23.92 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.3527, allocations: 43.73 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3529, allocations: 143.7 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3529, allocations: 3.938 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3529, allocations: 0 / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3529, allocations: 0 / 1.323 GB, free: 1 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007401/0.3536, allocations: 439.1 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3537, allocations: 19.92 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.3537, allocations: 34.75 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3538, allocations: 12.89 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.354, allocations: 200.3 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.354, allocations: 8.562 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.354, allocations: 8.375 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3544, allocations: 133.5 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3544, allocations: 0 / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3544, allocations: 7.984 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3545, allocations: 4 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.355, allocations: 119.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.3556, allocations: 400.6 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.356, allocations: 110.6 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.3563, allocations: 64.8 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3563, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3563, allocations: 30.56 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.3563, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008172/0.3571, allocations: 209.4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3572, allocations: 51.56 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3573, allocations: 136.9 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3573, allocations: 33.7 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.3574, allocations: 116 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.3574, allocations: 27.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.3575, allocations: 17.72 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3576, allocations: 322.8 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3579, allocations: 47.95 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.3581, allocations: 69.66 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.3586, allocations: 125.5 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3586, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005231/0.3591, allocations: 153.5 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3591, allocations: 8 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3591, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3591, allocations: 8.156 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3593, allocations: 31.97 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3593, allocations: 11.86 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3595, allocations: 23.92 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3595, allocations: 3.938 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.378e-05/0.3596, allocations: 117.8 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3596, allocations: 11.95 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.3596, allocations: 16.72 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3596, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3596, allocations: 3.938 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3596, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3599, allocations: 213.5 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3599, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3601, allocations: 31.91 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3601, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3601, allocations: 4 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3601, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3601, allocations: 3.938 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.3606, allocations: 243.4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3607, allocations: 93.06 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3607, allocations: 3.984 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3609, allocations: 11.98 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3609, allocations: 15.92 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3609, allocations: 4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.361, allocations: 103.2 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002468/0.3612, allocations: 12 kB / 1.327 GB, free: 12.85 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 (8): * Single equations (assignments): 8 * 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.0008882/0.3621, allocations: 0.7987 MB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.3627, allocations: 119.9 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3627, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.3629, allocations: 64 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3633, allocations: 23.86 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3659, allocations: 1.661 MB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3662, allocations: 0.6963 MB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.933e-05/0.3662, allocations: 7.984 kB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3663, allocations: 27.44 kB / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3663, allocations: 0 / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3935, allocations: 2.487 MB / 1.333 GB, free: 7.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.549, allocations: 7.719 kB / 1.333 GB, free: 7.02 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.260244600009173]