Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001786/0.001786, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002074/0.002074, allocations: 220 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 3.295/3.295, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.001974/0.001974, allocations: 65.39 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002822/0.3265, allocations: 1.347 MB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.328, allocations: 1.046 MB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3282, allocations: 4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.965e-05/0.3282, allocations: 31.59 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.3284, allocations: 35.59 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.3285, allocations: 119.9 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.3289, allocations: 340.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.3292, allocations: 186.1 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3294, allocations: 131.6 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3295, allocations: 139.3 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3296, allocations: 44 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.3296, allocations: 48 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.3297, allocations: 83.75 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3298, allocations: 151.3 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.3304, allocations: 0.5331 MB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3304, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3304, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3304, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008861/0.3313, allocations: 0.5134 MB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3313, allocations: 8.031 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/0.3313, allocations: 8.844 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.3314, allocations: 70.72 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.3315, allocations: 32.75 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3318, allocations: 216.9 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3318, allocations: 25.03 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3318, allocations: 28.38 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.3325, allocations: 314.4 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3325, allocations: 0 / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3326, allocations: 12 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3326, allocations: 12 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.3333, allocations: 286.4 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3345, allocations: 0.8277 MB / 1.352 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.3352, allocations: 264.9 kB / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.3355, allocations: 133.2 kB / 1.352 GB, free: 9.398 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3356, allocations: 0 / 1.352 GB, free: 9.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3356, allocations: 46.44 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.052e-06/0.3356, allocations: 4 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001037/0.3366, allocations: 361.3 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3367, allocations: 55.41 kB / 1.353 GB, free: 8.914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3368, allocations: 148.7 kB / 1.353 GB, free: 8.762 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3368, allocations: 29.7 kB / 1.353 GB, free: 8.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.337, allocations: 176.4 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.337, allocations: 83.28 kB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.3371, allocations: 41.94 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3373, allocations: 322.8 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.3376, allocations: 104.4 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.3379, allocations: 124.5 kB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/0.3385, allocations: 231.3 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3385, allocations: 0 / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006946/0.3392, allocations: 285.3 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3392, allocations: 4 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3392, allocations: 4 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3392, allocations: 3.938 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3395, allocations: 67.89 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3395, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.3397, allocations: 43.86 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3397, allocations: 4 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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 0.000152/0.3399, allocations: 145.8 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3399, allocations: 15.91 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.34, allocations: 29.27 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.34, allocations: 3.938 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.34, allocations: 0 / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.34, allocations: 0 / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.3404, allocations: 320.4 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3404, allocations: 7.938 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.3406, allocations: 63.89 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3406, allocations: 4 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3407, allocations: 4 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3407, allocations: 3.938 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3407, allocations: 0 / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.3414, allocations: 371.2 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.3414, allocations: 19.88 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3414, allocations: 4 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3416, allocations: 23.92 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3417, allocations: 19.95 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3417, allocations: 12 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.725e-05/0.3417, allocations: 108.6 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003022/0.342, allocations: 63.73 kB / 1.355 GB, free: 5.953 MB / 1.045 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 (25): * Single equations (assignments): 25 * 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.001039/0.3431, allocations: 0.9039 MB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006775/0.3438, allocations: 231.8 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3438, allocations: 3.938 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3441, allocations: 115.9 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3445, allocations: 35.91 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.3481, allocations: 2.284 MB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3484, allocations: 0.7475 MB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3485, allocations: 17.48 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3487, allocations: 79.41 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.3487, allocations: 0 / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3727, allocations: 3.803 MB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.21, allocations: 7.312 kB / 1.363 GB, free: 13.78 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 19.07892192999134]