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.001282/0.001282, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001391/0.001391, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.774/1.774, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.653e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003532/0.003559, allocations: 1.2 MB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.005187, allocations: 1.026 MB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.005331, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.558e-05/0.005397, allocations: 35.59 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.005526, allocations: 39.59 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.005667, allocations: 111.9 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.005923, allocations: 356.3 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.006174, allocations: 162.5 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.006352, allocations: 195.7 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.006444, allocations: 99.67 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.006487, allocations: 44 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.006513, allocations: 55.94 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.006557, allocations: 83.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.006622, allocations: 99.75 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.007011, allocations: 0.5567 MB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007015, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.823e-06/0.007016, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.007025, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 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.000903/0.007928, allocations: 0.5017 MB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.007978, allocations: 8.75 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.008041, allocations: 70.72 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.008087, allocations: 36.7 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.00833, allocations: 202 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.008347, allocations: 25.03 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.00838, allocations: 28.38 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.00883, allocations: 318.5 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.008842, allocations: 4.172 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.008863, allocations: 12.38 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.008872, allocations: 12.12 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.009277, allocations: 278.5 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.01014, allocations: 0.773 MB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.01056, allocations: 250.7 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.01074, allocations: 128.8 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01076, allocations: 4 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.01078, allocations: 39 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.01078, allocations: 0 / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0006042/0.01139, allocations: 365.3 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.01143, allocations: 55.41 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.01153, allocations: 137.8 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.01155, allocations: 33.7 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01166, allocations: 168.5 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.01173, allocations: 83.3 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.01181, allocations: 41.94 kB / 1.007 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.01191, allocations: 330.8 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.01209, allocations: 96.39 kB / 1.007 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01227, allocations: 127.4 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.01259, allocations: 235.2 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.0126, allocations: 0 / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003767/0.01297, allocations: 281.3 kB / 1.008 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01299, allocations: 10.03 kB / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.013, allocations: 3.984 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01301, allocations: 0 / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01316, allocations: 59.95 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01317, allocations: 11.88 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.01324, allocations: 35.88 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01325, allocations: 8 kB / 1.008 GB, free: 4.516 MB / 0.9636 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.0001005/0.01335, allocations: 145.8 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.01338, allocations: 15.91 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.01341, allocations: 21.28 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01341, allocations: 7.938 kB / 1.008 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01342, allocations: 0 / 1.008 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01342, allocations: 0 / 1.008 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01367, allocations: 296.4 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01367, allocations: 4 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.0138, allocations: 63.89 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01381, allocations: 0 / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01382, allocations: 0 / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.01382, allocations: 4 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01382, allocations: 0 / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.01422, allocations: 375.1 kB / 1.009 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.01424, allocations: 23.84 kB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01426, allocations: 0 / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.01434, allocations: 23.97 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.0144, allocations: 19.91 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.01441, allocations: 12 kB / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.01447, allocations: 109.4 kB / 1.009 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01447, allocations: 0 / 1.009 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000215/0.01468, allocations: 59.78 kB / 1.009 GB, free: 3.293 MB / 0.9636 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.0006369/0.01532, allocations: 0.9117 MB / 1.01 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.01573, allocations: 231.7 kB / 1.01 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01573, allocations: 0 / 1.01 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.01589, allocations: 119.8 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.01623, allocations: 32.09 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.01876, allocations: 2.283 MB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01888, allocations: 137.8 kB / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.01896, allocations: 17.48 kB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.01907, allocations: 76.47 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of SimCode: time 1.513e-06/0.01908, allocations: 4 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.03771, allocations: 4.28 MB / 1.017 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.894, allocations: 6.328 kB / 1.017 GB, free: 11.27 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/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: 11.077854700386524]