Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.00175/0.00175, allocations: 113.5 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.002268/0.002268, allocations: 211.3 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.32/3.32, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",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.001975/0.001975, allocations: 66.58 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4625, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002652/0.4652, allocations: 1.263 MB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4667, allocations: 1.003 MB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.4668, allocations: 0 / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.4669, allocations: 27.67 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.467, allocations: 35.64 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.4672, allocations: 99.92 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.4675, allocations: 303.4 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.4678, allocations: 142 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.468, allocations: 119.6 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4681, allocations: 123.5 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.4682, allocations: 32 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.4682, allocations: 36 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.4683, allocations: 67.83 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.4684, allocations: 127.3 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.4689, allocations: 454.5 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4689, allocations: 4 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4689, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4689, allocations: 0 / 1.349 GB, free: 12.62 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008424/0.4697, allocations: 485.8 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.4698, allocations: 8.031 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.4698, allocations: 16.78 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.4699, allocations: 58.73 kB / 1.35 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.4699, allocations: 24.8 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.4702, allocations: 202.7 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4703, allocations: 25.02 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.4703, allocations: 24.38 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.4709, allocations: 270.4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4709, allocations: 0 / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.4709, allocations: 12 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.471, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.4716, allocations: 238.4 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.4728, allocations: 0.7141 MB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.4734, allocations: 212.2 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.4737, allocations: 104.8 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4737, allocations: 4 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4738, allocations: 38.56 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.4738, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009801/0.4747, allocations: 315.1 kB / 1.352 GB, free: 9.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4748, allocations: 55.41 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4749, allocations: 143.6 kB / 1.352 GB, free: 9.555 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.475, allocations: 33.7 kB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4751, allocations: 152.6 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.4752, allocations: 75.36 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.4752, allocations: 33.66 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4754, allocations: 326.8 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.4757, allocations: 87.92 kB / 1.353 GB, free: 8.836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.476, allocations: 99.52 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.4766, allocations: 190.8 kB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4766, allocations: 0 / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006486/0.4773, allocations: 243.2 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4773, allocations: 8 kB / 1.353 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4773, allocations: 0 / 1.353 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4773, allocations: 3.938 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.4776, allocations: 59.89 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4776, allocations: 0 / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4777, allocations: 23.91 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4778, allocations: 15.98 kB / 1.353 GB, free: 8.191 MB / 1.045 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 (21): * Single equations (assignments): 21 * 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.000138/0.4779, allocations: 138.7 kB / 1.353 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4779, allocations: 11.95 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.478, allocations: 21.12 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.478, allocations: 15.88 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.478, allocations: 0 / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.478, allocations: 0 / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.4784, allocations: 284.5 kB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4784, allocations: 3.938 kB / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4786, allocations: 51.95 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4786, allocations: 0 / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4786, allocations: 8 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4786, allocations: 3.938 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4786, allocations: 0 / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.4793, allocations: 331.2 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.4794, allocations: 15.91 kB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4794, allocations: 4 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4796, allocations: 23.91 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.4796, allocations: 19.97 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4796, allocations: 8 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.4797, allocations: 109.7 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4797, allocations: 0 / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003011/0.48, allocations: 55.78 kB / 1.354 GB, free: 7.035 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 (20): * Single equations (assignments): 20 * 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.00105/0.4811, allocations: 0.8677 MB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006692/0.4818, allocations: 197.9 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4818, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.482, allocations: 99.86 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.4825, allocations: 28.59 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.4859, allocations: 2.114 MB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4863, allocations: 0.7358 MB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.4864, allocations: 17.42 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4865, allocations: 67.36 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/0.4865, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.5113, allocations: 3.566 MB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.22, allocations: 64 / 1.362 GB, free: 15.41 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.348348730010912]