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.PIDIntegralTime.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.00151/0.00151, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001797/0.001797, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.577/1.577, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.055/3.055, allocations: 0.49 GB / 0.7923 GB, free: 1.438 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.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002081/0.002081, allocations: 63.89 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.201, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002095/1.204, allocations: 0.8613 MB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/1.205, allocations: 0.8835 MB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/1.205, allocations: 3.938 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/1.205, allocations: 11.16 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/1.205, allocations: 14.8 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.684e-05/1.205, allocations: 32.38 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/1.205, allocations: 110.1 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/1.205, allocations: 46.52 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/1.205, allocations: 42.95 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/1.205, allocations: 49.47 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/1.205, allocations: 11.59 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/1.205, allocations: 11.16 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/1.205, allocations: 29.86 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/1.205, allocations: 42.97 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/1.206, allocations: 146.4 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/1.206, allocations: 2.812 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.206, allocations: 0 / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.206, allocations: 4 kB / 1.324 GB, free: 23.22 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000588/1.206, allocations: 411.5 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.206, allocations: 19.48 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/1.206, allocations: 2.75 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/1.206, allocations: 40.7 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/1.206, allocations: 10.17 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/1.206, allocations: 205.2 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/1.206, allocations: 9.469 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/1.206, allocations: 10.81 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/1.207, allocations: 123.5 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.207, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/1.207, allocations: 4 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.207, allocations: 2.656 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/1.207, allocations: 113.2 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/1.208, allocations: 399.7 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/1.208, allocations: 118.9 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/1.208, allocations: 66.02 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/1.208, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.208, allocations: 30.56 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.051e-06/1.208, allocations: 2.625 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006073/1.209, allocations: 184.5 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/1.209, allocations: 54.28 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/1.209, allocations: 118.7 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/1.209, allocations: 25.7 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/1.209, allocations: 105.8 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/1.209, allocations: 37.2 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/1.209, allocations: 22.23 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/1.209, allocations: 314.8 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/1.209, allocations: 49.56 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/1.21, allocations: 43.95 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/1.21, allocations: 100.7 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.21, allocations: 0 / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003535/1.21, allocations: 135 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.21, allocations: 5.969 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.21, allocations: 3.938 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.21, allocations: 4 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/1.21, allocations: 31.38 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/1.21, allocations: 0 / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/1.21, allocations: 15.83 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/1.21, allocations: 2.938 kB / 1.326 GB, free: 21.11 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 (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 8.573e-05/1.211, allocations: 122.8 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/1.211, allocations: 9.766 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/1.211, allocations: 19.64 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.211, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.211, allocations: 3.219 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.211, allocations: 4 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/1.211, allocations: 206.8 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.211, allocations: 0 / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.211, allocations: 23.75 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.211, allocations: 0 / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.211, allocations: 10.14 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.211, allocations: 4 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.211, allocations: 0 / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/1.211, allocations: 230.9 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/1.211, allocations: 87.55 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.211, allocations: 7.875 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.212, allocations: 17.08 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/1.212, allocations: 9.344 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.212, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.991e-05/1.212, allocations: 94.91 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.212, allocations: 0 / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002296/1.212, allocations: 25.98 kB / 1.327 GB, free: 20.38 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 (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 Backend phase and start with SimCode phase: time 0.0006026/1.212, allocations: 0.778 MB / 1.328 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004409/1.213, allocations: 109.3 kB / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.213, allocations: 0 / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/1.213, allocations: 48.86 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/1.213, allocations: 16.55 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/1.216, allocations: 1.567 MB / 1.33 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/1.216, allocations: 0.704 MB / 1.33 GB, free: 17.63 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.3e-05/1.216, allocations: 6.609 kB / 1.33 GB, free: 17.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/1.216, allocations: 27 kB / 1.33 GB, free: 17.61 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.216, allocations: 0.9688 kB / 1.33 GB, free: 17.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/1.237, allocations: 2.238 MB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/9.7, allocations: 7.359 kB / 1.333 GB, free: 17.23 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.5783492999617]