Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001461/0.001461, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.965/2.965, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.Validation.PI,fileNamePrefix="Buildings_12_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_12_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.00298/0.00298, allocations: 63.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.128, allocations: 176.1 MB / 1.321 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002239/1.13, allocations: 1.362 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00101/1.131, allocations: 1.031 MB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/1.131, allocations: 5.062 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.211e-05/1.131, allocations: 30.28 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/1.131, allocations: 33.77 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/1.131, allocations: 118.7 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/1.131, allocations: 343.9 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/1.132, allocations: 174.8 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/1.132, allocations: 140.8 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/1.132, allocations: 132.5 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/1.132, allocations: 44.06 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/1.132, allocations: 46.44 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/1.132, allocations: 83.28 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/1.132, allocations: 153.3 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/1.132, allocations: 0.5366 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.133, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.133, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.133, allocations: 0 / 1.326 GB, free: 21.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007792/1.133, allocations: 0.5811 MB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.133, allocations: 14.95 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.465e-05/1.133, allocations: 13 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/1.133, allocations: 75.84 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/1.133, allocations: 34.5 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/1.134, allocations: 267 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.134, allocations: 27.03 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/1.134, allocations: 26.44 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/1.134, allocations: 321.5 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.134, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/1.134, allocations: 14.44 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.134, allocations: 8.25 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/1.135, allocations: 283.1 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.136, allocations: 0.8742 MB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/1.137, allocations: 262.2 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/1.137, allocations: 126.9 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/1.137, allocations: 3.375 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/1.137, allocations: 35.91 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/1.137, allocations: 4 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001119/1.138, allocations: 373.1 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.138, allocations: 58.84 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.138, allocations: 137.4 kB / 1.329 GB, free: 19.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.138, allocations: 31.17 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/1.139, allocations: 170.1 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/1.139, allocations: 83.92 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/1.139, allocations: 43.34 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/1.139, allocations: 327 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/1.139, allocations: 98.58 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/1.139, allocations: 122.3 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/1.14, allocations: 236.9 kB / 1.33 GB, free: 19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.14, allocations: 0 / 1.33 GB, free: 19 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007797/1.141, allocations: 284.5 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.141, allocations: 5.219 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.141, allocations: 1.891 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.141, allocations: 5.562 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.141, allocations: 62.52 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.141, allocations: 2.844 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.141, allocations: 39.61 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/1.141, allocations: 9.578 kB / 1.33 GB, free: 18.85 MB / 1.061 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.00013/1.142, allocations: 142.6 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/1.142, allocations: 23.98 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/1.142, allocations: 24.38 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.142, allocations: 7.797 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.142, allocations: 0 / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.142, allocations: 1.219 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/1.142, allocations: 354.7 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.142, allocations: 5.062 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/1.142, allocations: 55.81 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.142, allocations: 1.25 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.142, allocations: 5.031 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.142, allocations: 5.672 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.142, allocations: 0 / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/1.143, allocations: 371 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/1.143, allocations: 94.66 kB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/1.143, allocations: 6.656 kB / 1.332 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.143, allocations: 23.98 kB / 1.332 GB, free: 18.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/1.144, allocations: 22.55 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.144, allocations: 5.438 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.462e-05/1.144, allocations: 106.9 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.144, allocations: 0 / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003093/1.144, allocations: 60.53 kB / 1.332 GB, free: 17.95 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 (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.0008795/1.145, allocations: 0.9037 MB / 1.333 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007128/1.145, allocations: 236.4 kB / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.145, allocations: 0 / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.146, allocations: 120.6 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/1.146, allocations: 34.03 kB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/1.15, allocations: 2.285 MB / 1.335 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/1.15, allocations: 0.7502 MB / 1.336 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.955e-05/1.15, allocations: 17.78 kB / 1.336 GB, free: 14.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.15, allocations: 80.42 kB / 1.336 GB, free: 14.7 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/1.15, allocations: 0.625 kB / 1.336 GB, free: 14.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/1.171, allocations: 3.615 MB / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/10.05, allocations: 16.62 kB / 1.34 GB, free: 14.2 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.770584840967786]