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.001761/0.001761, allocations: 113 kB / 19.73 MB, free: 2.227 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.002329/0.002329, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.477/1.477, 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 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.255/3.255, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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="cs",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="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.002046/0.002046, allocations: 62.02 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.00224/0.3353, allocations: 0.8736 MB / 1.328 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3365, allocations: 0.8783 MB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.3366, allocations: 3.938 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.3367, allocations: 15.8 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.3368, allocations: 11.88 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.08e-05/0.3368, allocations: 39.95 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.337, allocations: 123.6 kB / 1.329 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3372, allocations: 37.33 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3373, allocations: 47.8 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.3374, allocations: 51.7 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3374, allocations: 12 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.991e-05/0.3374, allocations: 12 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.3375, allocations: 23.92 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.3375, allocations: 47.73 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3377, allocations: 135.7 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3377, allocations: 4 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3377, allocations: 3.938 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3377, allocations: 0 / 1.329 GB, free: 15.66 MB / 1.029 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.0007248/0.3384, allocations: 354 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3385, allocations: 8.031 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.3385, allocations: 8.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.3386, allocations: 46.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3386, allocations: 8.891 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3388, allocations: 146.5 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3388, allocations: 8.562 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3388, allocations: 7.938 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.3393, allocations: 125.6 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3393, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3393, allocations: 12 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3393, allocations: 3.938 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.3398, allocations: 123.8 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.3405, allocations: 371.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.3409, allocations: 94.64 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.3411, allocations: 68.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.3412, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3412, allocations: 38.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.3412, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008476/0.342, allocations: 213.6 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3421, allocations: 59.34 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3422, allocations: 124.1 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3422, allocations: 29.7 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.3423, allocations: 108 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3423, allocations: 35.73 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3424, allocations: 17.72 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3426, allocations: 322.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.3428, allocations: 51.94 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3431, allocations: 77.53 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.3435, allocations: 117.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3435, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005324/0.3441, allocations: 169.5 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3441, allocations: 4 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3441, allocations: 0 / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3441, allocations: 3.938 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3443, allocations: 39.94 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3443, allocations: 0 / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3444, allocations: 27.95 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3444, allocations: 0 / 1.332 GB, free: 12.69 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.971e-05/0.3445, allocations: 120.5 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3446, allocations: 7.953 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.3446, allocations: 16.72 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3446, allocations: 3.938 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3446, allocations: 7.984 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3446, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3448, allocations: 176.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3449, allocations: 7.984 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.345, allocations: 27.97 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.345, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.345, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.345, allocations: 3.938 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.345, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.3456, allocations: 255.3 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.3456, allocations: 11.89 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3456, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3458, allocations: 27.91 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.3459, allocations: 15.97 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3459, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.027e-05/0.3459, allocations: 99.27 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3459, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002526/0.3462, allocations: 16 kB / 1.332 GB, free: 11.83 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.0009348/0.3471, allocations: 0.7788 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.3477, allocations: 124.4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3477, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.3479, allocations: 64.06 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3483, allocations: 30.73 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3509, allocations: 1.653 MB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3512, allocations: 0.7011 MB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.3513, allocations: 7.938 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.3514, allocations: 31.42 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3514, allocations: 0 / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.3872, allocations: 2.608 MB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.9, allocations: 14.81 kB / 1.338 GB, free: 5.887 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.933779576036613]