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.PIIntegralTime.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.001025/0.001025, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001179/0.001179, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8888/0.8888, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.308e-05, allocations: 6.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001523/0.001546, allocations: 0.9073 MB / 0.9819 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.002385, allocations: 0.9016 MB / 0.9828 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.002442, allocations: 8 kB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.002487, allocations: 15.8 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.002571, allocations: 15.8 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 9.297e-05/0.002664, allocations: 51.94 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.002799, allocations: 156.2 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.00297, allocations: 77.08 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.003078, allocations: 91.8 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.003137, allocations: 47.81 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.00317, allocations: 20 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.003183, allocations: 20 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.003208, allocations: 35.89 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.003245, allocations: 43.91 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.003427, allocations: 223.2 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003429, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003431, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003435, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004336/0.003868, allocations: 373.8 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.003908, allocations: 12.03 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.003945, allocations: 46.73 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.00397, allocations: 16.84 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.00413, allocations: 157.6 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.004142, allocations: 12.12 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.004158, allocations: 20.38 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.004403, allocations: 163.7 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004412, allocations: 192 / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.004425, allocations: 4.375 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004433, allocations: 12.12 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.004657, allocations: 143.9 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.005153, allocations: 443.1 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.005479, allocations: 153.7 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.005592, allocations: 72.8 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.005609, allocations: 7.938 kB / 0.9851 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005628, allocations: 38.5 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.005629, allocations: 0 / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0003869/0.006016, allocations: 221.5 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.006052, allocations: 51.41 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.006125, allocations: 117.8 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.006138, allocations: 29.7 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.006193, allocations: 120.4 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.006227, allocations: 43.59 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.006265, allocations: 29.7 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.006365, allocations: 318.8 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.006456, allocations: 55.95 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.006546, allocations: 60.2 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.006729, allocations: 123.6 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006731, allocations: 4 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002278/0.006959, allocations: 165.5 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006973, allocations: 11.94 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006977, allocations: 0 / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006989, allocations: 0 / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.007085, allocations: 35.97 kB / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007089, allocations: 0 / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.007135, allocations: 27.81 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.007146, allocations: 11.98 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 6.936e-05/0.007215, allocations: 121.8 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.007232, allocations: 11.89 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.007253, allocations: 12.44 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007255, allocations: 0 / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.007261, allocations: 4 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007264, allocations: 0 / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.007426, allocations: 192.7 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007427, allocations: 0 / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.007504, allocations: 43.91 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007506, allocations: 4 kB / 0.9869 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.007515, allocations: 7.938 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007516, allocations: 3.938 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007516, allocations: 0 / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.007758, allocations: 263.4 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.007772, allocations: 27.81 kB / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007784, allocations: 0 / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.007838, allocations: 15.98 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.007882, allocations: 7.984 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.007889, allocations: 4 kB / 0.9872 GB, free: 11.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.007924, allocations: 95.27 kB / 0.9873 GB, free: 11.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007924, allocations: 0 / 0.9873 GB, free: 11.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001556/0.00808, allocations: 27.95 kB / 0.9873 GB, free: 11.82 MB / 0.948 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 (14): * Single equations (assignments): 14 * 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.0004392/0.008519, allocations: 0.8085 MB / 0.9881 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.008756, allocations: 123.8 kB / 0.9882 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008757, allocations: 0 / 0.9882 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.008854, allocations: 71.89 kB / 0.9883 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.009094, allocations: 18.02 kB / 0.9883 GB, free: 10.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01052, allocations: 1.717 MB / 0.99 GB, free: 8.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.0106, allocations: 97.61 kB / 0.9901 GB, free: 8.867 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.925e-05/0.01065, allocations: 12.48 kB / 0.9901 GB, free: 8.855 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.01071, allocations: 36.48 kB / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01071, allocations: 3.938 kB / 0.9901 GB, free: 8.816 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.02492, allocations: 3.159 MB / 0.9932 GB, free: 5.898 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.761, allocations: 1.172 kB / 0.9932 GB, free: 5.898 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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: 10.868544960394502]